{"id":23886327,"url":"https://github.com/Cach30verfl0w/Krypton","last_synced_at":"2025-09-09T16:31:24.634Z","repository":{"id":270591438,"uuid":"909683462","full_name":"trusted-kotlin/Krypton","owner":"trusted-kotlin","description":"A modular and extensible Kotlin library suite for Cryptography","archived":false,"fork":false,"pushed_at":"2025-01-02T17:08:29.000Z","size":217,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-04T02:31:40.787Z","etag":null,"topics":["algorithms","android","crypto","cryptography","encryption","ios","jvm","kotlin","kotlin-multiplatform","kotlin-native","krypton"],"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/trusted-kotlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-12-29T13:30:24.000Z","updated_at":"2025-01-03T02:44:50.000Z","dependencies_parsed_at":"2025-01-04T02:31:42.124Z","dependency_job_id":null,"html_url":"https://github.com/trusted-kotlin/Krypton","commit_stats":null,"previous_names":["cach30verfl0w/krypton","trusted-kotlin/krypton"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trusted-kotlin%2FKrypton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trusted-kotlin%2FKrypton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trusted-kotlin%2FKrypton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trusted-kotlin%2FKrypton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trusted-kotlin","download_url":"https://codeload.github.com/trusted-kotlin/Krypton/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232431962,"owners_count":18522106,"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":["algorithms","android","crypto","cryptography","encryption","ios","jvm","kotlin","kotlin-multiplatform","kotlin-native","krypton"],"created_at":"2025-01-04T06:18:46.071Z","updated_at":"2025-09-09T16:31:14.610Z","avatar_url":"https://github.com/trusted-kotlin.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Krypton Cryptography Suite\nKrypton is a modular and extensible library suite for cryptography in Kotlin/Multiplatform with support for Linux, Windows, macOS, Android and iOS based on more-tested libraries in the backend like OpenSSL or the JCA. Below this text you can see a list of the modules of Krypton:\n- **krypton-core:** Core components of the Krypton library (Algorithm interface etc.)\n- **krypton-asn1:** Cross-platform ASN.1 binary format parser with support for [`kotlinx.serialization`](https://github.com/Kotlin/kotlinx.serialization)\n- **krypton-keystore:** Implementation of Native keystores with support for parsing Java Keystores on different platforms\n- **krypton-openssl:** Windows, Linux, macOS and iOS bindings for [OpenSSL](https://github.com/openssl/openssl) [(Apache License 2.0)](https://github.com/openssl/openssl/blob/master/LICENSE.txt)\n- **krypton-x509:** Implementation of APIs for working with X.509 certificates and other PKI data (Certificate Signing Requests, certificates etc.)\n\nThe default implementation of Krypton supports different algorithms. Below this text you can see a list of the by-default implemented algorithms:\n- **Cryptographic hash functions:** SHA3 (224, 256, 384 and 512 bits), SHA (224, 256, 384 and 512 bits) and MD5\n- **Symmetric encryption algorithms:** AES, DES and Triple-DES\n- **Asymmetric encryption algorithms:** RSA\n- **Key Agreements:** Diffie-Hellman (DH) and Elliptic Curve Diffie-Hellman (ECDH)\n- **Signature algorithms:** RSA and ECDSA\n\n## Credits\nSome parts of this project are based on the work of other great people. In this part of the README I want to thank them and show a list of my inspirations etc.\n- [trixnity-openssl-binaries](https://gitlab.com/trixnity/trixnity-openssl-binaries) - The OpenSSL binaries are acquired by the publications of this repository\n- [trixnity-crypto-core](https://gitlab.com/trixnity/trixnity/-/tree/main/trixnity-crypto-core?ref_type=heads) - The integration of OpenSSL over multiple targets is heavily inspired that builscript code\n- [A Layman's Guide to a Subset of ASN.1, BER, and DER](https://luca.ntop.org/Teaching/Appunti/asn1.html) - Used for the implementation of the ASN.1 parser\n- [IBM's Object identifiers documentation](https://www.ibm.com/docs/en/zos/2.4.0?topic=programming-object-identifiers) for the extraction of the OIDs (Object Identifiers) for certificates etc.\n\n### Dependencies\nAlso, a few dependencies are needed to make this project work. Below this text you can see a list of these project with author and license (by the time the dependency was added):\n\n| Name                                                                           | Author                                                      | License                                                                                              |\n|--------------------------------------------------------------------------------|-------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| [Kotest](https://github.com/kotest/kotest)                                     | [Kotest](https://github.com/kotest)                         | [Apache License 2.0](https://github.com/kotest/kotest/blob/master/LICENSE)                           |\n| [bouncycastle-java](https://www.bouncycastle.org/repositories/bc-java)         | [Legion of the Bouncycastle Inc.](https://github.com/bcgit) | [MIT License](https://github.com/bcgit/bc-java/blob/main/LICENSE.md)                                 |\n| [dokka](https://github.com/Kotlin/dokka)                                       | [Kotlin](https://github.com/Kotlin)                         | [Apache License 2.0](https://github.com/Kotlin/dokka/blob/master/LICENSE.txt)                        |\n| [OpenSSL](https://github.com/OpenSSL/OpenSSL)                                  | [The OpenSSL Project](https://github.com/OpenSSL/OpenSSL)   | [Apache License 2.0](https://github.com/openssl/openssl/blob/master/LICENSE.txt)                     |\n| [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization)       | [Kotlin](https://github.com/Kotlin)                         | [Apache License 2.0](https://github.com/Kotlin/kotlinx.serialization/blob/master/LICENSE.txt)        |\n| [gradle-download-task](https://github.com/michel-kraemer/gradle-download-task) | [Michel Krämer](https://github.com/michel-kraemer)          | [Apache License 2.0](https://github.com/michel-kraemer/gradle-download-task/blob/master/LICENSE.txt) |\n| [kotlinx-io](https://github.com/Kotlin/kotlinx-io) | [Kotlin](https://github.com/Kotlin/kotlinx-io) | [Apache License 2.0](https://github.com/Kotlin/kotlinx-io/blob/master/LICENSE) |\n| [kotlinx-datetime](https://github.com/Kotlin/kotlinx-datetime) | [Kotlin](https://github.com/Kotlin/kotlinx-datetime) | [Apache License 2.0](https://github.com/Kotlin/kotlinx-datetime/blob/master/LICENSE.txt) |\n| [bignum](https://github.com/ionspin/kotlin-multiplatform-bignum/releases) | [Ugljesa Jovanovic ](https://github.com/ionspin) | [Apache License 2.0](https://github.com/ionspin/kotlin-multiplatform-bignum/blob/main/LICENSE) |\n\n## License\nThis project is licensed with the Apache-2.0 License.\n```\nCopyright 2025 Cedric Hammes\n  \nLicensed under the Apache License, Version 2.0 (the \"License\"); \nyou may not use this file except in compliance with the License. \nYou may obtain a copy of the License at \n  \n http://www.apache.org/licenses/LICENSE-2.0 \n  \nUnless required by applicable law or agreed to in writing, software \ndistributed under the License is distributed on an \"AS IS\" BASIS, \nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \nSee the License for the specific language governing permissions and \nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCach30verfl0w%2FKrypton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCach30verfl0w%2FKrypton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCach30verfl0w%2FKrypton/lists"}