{"id":13536904,"url":"https://github.com/KotlinCrypto/sponges","last_synced_at":"2025-04-02T03:31:27.527Z","repository":{"id":208297536,"uuid":"624865251","full_name":"KotlinCrypto/sponges","owner":"KotlinCrypto","description":"Sponge functions for Kotlin Multiplatform","archived":false,"fork":false,"pushed_at":"2025-02-25T17:01:58.000Z","size":223,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T18:19:50.921Z","etag":null,"topics":["cryptographic-hash-functions","cryptography","cryptography-algorithms","cryptography-library","hash","hashing","hashing-algorithm","keccak","keccak-sponge","kotlin","kotlin-multiplatform","kotlin-multiplatform-library"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KotlinCrypto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T12:58:58.000Z","updated_at":"2025-02-25T17:01:22.000Z","dependencies_parsed_at":"2024-01-16T15:40:33.141Z","dependency_job_id":"de623b83-9bb5-4227-8955-cf54a237e051","html_url":"https://github.com/KotlinCrypto/sponges","commit_stats":null,"previous_names":["kotlincrypto/sponges"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KotlinCrypto%2Fsponges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KotlinCrypto%2Fsponges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KotlinCrypto%2Fsponges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KotlinCrypto%2Fsponges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KotlinCrypto","download_url":"https://codeload.github.com/KotlinCrypto/sponges/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246751216,"owners_count":20827850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptographic-hash-functions","cryptography","cryptography-algorithms","cryptography-library","hash","hashing","hashing-algorithm","keccak","keccak-sponge","kotlin","kotlin-multiplatform","kotlin-multiplatform-library"],"created_at":"2024-08-01T09:00:51.571Z","updated_at":"2025-04-02T03:31:27.519Z","avatar_url":"https://github.com/KotlinCrypto.png","language":"Kotlin","readme":"# sponges\n[![badge-license]][url-license]\n[![badge-latest-release]][url-latest-release]\n\n[![badge-kotlin]][url-kotlin]\n\n![badge-platform-android]\n![badge-platform-jvm]\n![badge-platform-js]\n![badge-platform-js-node]\n![badge-platform-wasm]\n![badge-platform-linux]\n![badge-platform-macos]\n![badge-platform-ios]\n![badge-platform-tvos]\n![badge-platform-watchos]\n![badge-platform-windows]\n![badge-support-android-native]\n![badge-support-apple-silicon]\n![badge-support-js-ir]\n![badge-support-linux-arm]\n\n[Sponge functions][url-sponge-functions] For Kotlin Multiplatform\n\nUtilized by the [hash][url-hash] repository `sha3` implementation\n\nUtilized by the [MACs][url-macs] repository for `hmac-sha3` and `kmac` implementations\n\n### Usage\n\n```kotlin\n// Keccak-p\n\nfun main() {\n    // Separate State classes for Keccak-f[200/400/800/1600]\n    val state = F1600()\n    \n    state.addData(index = 0, 23452345254L)\n    \n    state.keccakP()\n    \n    state.forEach { println(it) }\n    // ...\n}\n```\n\n### Get Started\n\nThe best way to keep `KotlinCrypto` dependencies up to date is by using the \n[version-catalog][url-version-catalog]. Alternatively, see below.\n\n\u003c!-- TAG_VERSION --\u003e\n\n```kotlin\n// build.gradle.kts\ndependencies {\n    implementation(\"org.kotlincrypto.sponges:keccak:0.4.0\")\n}\n```\n\n\u003c!-- TAG_VERSION --\u003e\n[badge-latest-release]: https://img.shields.io/badge/latest--release-0.4.0-blue.svg?style=flat\n[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat\n\n\u003c!-- TAG_DEPENDENCIES --\u003e\n[badge-kotlin]: https://img.shields.io/badge/kotlin-2.1.10-blue.svg?logo=kotlin\n\n\u003c!-- TAG_PLATFORMS --\u003e\n[badge-platform-android]: http://img.shields.io/badge/-android-6EDB8D.svg?style=flat\n[badge-platform-jvm]: http://img.shields.io/badge/-jvm-DB413D.svg?style=flat\n[badge-platform-js]: http://img.shields.io/badge/-js-F8DB5D.svg?style=flat\n[badge-platform-js-node]: https://img.shields.io/badge/-nodejs-68a063.svg?style=flat\n[badge-platform-linux]: http://img.shields.io/badge/-linux-2D3F6C.svg?style=flat\n[badge-platform-macos]: http://img.shields.io/badge/-macos-111111.svg?style=flat\n[badge-platform-ios]: http://img.shields.io/badge/-ios-CDCDCD.svg?style=flat\n[badge-platform-tvos]: http://img.shields.io/badge/-tvos-808080.svg?style=flat\n[badge-platform-watchos]: http://img.shields.io/badge/-watchos-C0C0C0.svg?style=flat\n[badge-platform-wasm]: https://img.shields.io/badge/-wasm-624FE8.svg?style=flat\n[badge-platform-windows]: http://img.shields.io/badge/-windows-4D76CD.svg?style=flat\n[badge-support-android-native]: http://img.shields.io/badge/support-[AndroidNative]-6EDB8D.svg?style=flat\n[badge-support-apple-silicon]: http://img.shields.io/badge/support-[AppleSilicon]-43BBFF.svg?style=flat\n[badge-support-js-ir]: https://img.shields.io/badge/support-[js--IR]-AAC4E0.svg?style=flat\n[badge-support-linux-arm]: http://img.shields.io/badge/support-[LinuxArm]-2D3F6C.svg?style=flat\n[badge-support-linux-mips]: http://img.shields.io/badge/support-[LinuxMIPS]-2D3F6C.svg?style=flat\n\n[url-latest-release]: https://github.com/KotlinCrypto/sponges/releases/latest\n[url-license]: https://www.apache.org/licenses/LICENSE-2.0.txt\n[url-kotlin]: https://kotlinlang.org\n[url-hash]: https://github.com/KotlinCrypto/hash\n[url-macs]: https://github.com/KotlinCrypto/MACs\n[url-version-catalog]: https://github.com/KotlinCrypto/version-catalog\n[url-sponge-functions]: https://en.wikipedia.org/wiki/Sponge_function\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Utility"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKotlinCrypto%2Fsponges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKotlinCrypto%2Fsponges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKotlinCrypto%2Fsponges/lists"}