Hey, for a while I’ve been working on a solution that will allow to use cryptography primitives in Kotlin Multiplatform without the need to write cryptography algorithms from scratch (and so maintain and fight with bugs)
Finally, I have something well enough to share :)
Introducing cryptography-kotlin: Type-safe Multiplatform cryptography library for Kotlin
https://twitter.com/why_oleg/status/1638826882174005251
Library provides multiplatform API which consists of multiple components:
• Secure random with kotlin.Random like API which can be used independently of other modules
• common API to use different cryptography operations, like ciphers, digests and signatures
• multiple algorithms definitions, like AES, RSA, ECDSA and SHA
• multiple cryptography providers, like OpenSSL, WebCrypto and JDK
Release notes: https://github.com/whyoleg/cryptography-kotlin/releases/tag/0.1.0
r
Ryan Woodcock
03/23/2023, 9:31 AM
Super cool to see this, amazing work! Looking forward to checking it out.
f
franztesca
03/23/2023, 11:21 AM
kryptography
b
benkuly
03/24/2023, 3:06 PM
Really impressive 😮 Looking forward to see PBKDF2 and AES-CTR to integrate this library in Trixnity (Kotlin Multiplatform Matrix SDK) 🙂