https://kotlinlang.org logo
Join SlackCommunities
Powered by
# cryptography
  • u

    Ugi

    08/08/2020, 8:10 PM
    set the channel description: Kotlin and Kotlin Multiplatform Cryptography discussion
  • u

    Ugi

    02/25/2021, 12:09 PM
    Hey everyone, I am happy to announce first experimental release of Kotlin Multiplatform Libsodium Bindings, this is a library that wraps Libsodium and LIbsodium.js to provide cryptographic primitives in Kotlin Multiplatform Projects. The library still needs some work regarding adding documentation of the APIs, and also a lot of security review, and until it's deemed safe for use in certain scenarios it will stay in Experimental state and shouldn't be used in production. Apart from that the library is fully funcitonal. https://github.com/ionspin/kotlin-multiplatform-libsodium
    👏 2
  • g

    Glen

    04/14/2021, 7:58 PM
    Hello here. Please, does anyone know of a Kotlin library for secp256k1?
    u
    • 2
    • 7
  • a

    appmattus

    06/04/2021, 8:19 AM
    Today I’m happy to announce and soft launch my Kotlin Multiplatform/Native open source project https://github.com/appmattus/crypto I’ve spent the last few months converting and writing various cryptographic hashes (and some non-crypto) in (pure) Kotlin so they can be compiled across multiple platforms. There is already a large list of hashing algorithms supported but it would be great to hear your thoughts on what you feel is missing and any other comments you might have to further improve the library.
    👏🏼 2
    👏 5
  • g

    Glen

    01/16/2022, 12:41 PM
    Hello everyone. Please, has someone implemented(or does someone know of) support for ECDSA and/or Schnorr signatures in Kotlin?
    f
    • 2
    • 3
  • a

    Akshay Bijawe

    02/23/2023, 11:50 PM
    Hello, is there any official support from Jet Brains for multiplatform cryptography?
  • o

    Oleg Yukhnevich

    03/23/2023, 8:56 AM
    I know that this chat doesn’t have a lot of people, but though, it’s the most relevant one, so here you are: one more library for cryptography :) https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1679561800112959
    ❤️ 3
  • m

    Marcus Cvjeticanin

    04/27/2023, 8:27 AM
    Hi all, In Java/Kotlin. Do anyone have suggestions of libraries for using ed25519? Or should I just use Libsodium with JNI?
  • r

    RyuNen344

    05/04/2023, 12:26 PM
    Although this is not the right place for such an announcement, please allow me to share this information I have created a Google/Tink wrapper library for KMM (https://github.com/RyuNen344/tink-kmm). Hopefully, it will be helpful to those struggling with encryption in KMM.
    👏 2
  • d

    Dimitar Kostov

    11/09/2023, 4:57 AM
    Hi, is there an easy way to generate a key for hmac that will be shared with clients(for http request signature) ?
    m
    • 2
    • 2
  • c

    Colton Idle

    08/11/2024, 4:29 AM
    Kinda funny. I asked chatGpt for generating a sha256 in kmp and it told me to use kotlinx.crypto and it threw me in like a 20 minute loop to figure out that it doesn't actually exist. 😂
    🙃 2
    m
    • 2
    • 1
  • b

    Bernd Prünster

    02/12/2025, 5:53 PM
    (X-Post from #C0BJ0GTE2, since the core audience is gathered here) Hi Folks! A new release of Signum, our KMP crypto library, is ready. This time around with an exciting new core feature: platform-native in-hardware ECDH key agreement on Android and iOS! We've also improved performance and added more comprehensive PEM encoding since 3.12.0. Aside from that, our COSE and certificate parsers are now more forgiving (without sacrificing correctness) and we fixed some small bugs. There's even more exciting news: We're finally close to releasing symmetric encryption and HMAC support! Check out the docs and stay tuned for the next release!
  • m

    My Locker

    03/06/2025, 2:58 AM
    looking for a replacement to my android cryptography. Has to migrate exactly. Using AES/ECB and SHA256 in the old app. Moving the app to Mobile, desktop, wasm and someday iOS. currently looking at https://github.com/whyoleg/cryptography-kotlin/issues but having issues with conversions of the sha256 digest function. anyone having luck with other libs?
    b
    • 2
    • 2
  • m

    My Locker

    03/07/2025, 3:37 AM
    what is the best long term provider for all the KMP Compose platforms? I have the chance to start fresh with a new output. i have successfully finished the old AES ECB decryption and am ready to start with a new provider.
    b
    • 2
    • 3
  • m

    My Locker

    03/08/2025, 7:06 PM
    i need to create and later recreate the encrypting key for decryption. The encrypt and decrypt may happen weeks apart. The key generators do not seem to allow for recreation. using https://github.com/whyoleg/cryptography-kotlin and AEs-gcm for keys but am open another provider/algorithm
    b
    • 2
    • 1