I'm trying to implement a string encryption using AES-256 in GCM mode with Lazysodium but the code fails and
ls.cryptoAeadAES256GCMIsAvailable() return false.
Running the (nearly) same code with ChaCha20Poly1305 gives the expected cipher- and decrypted-texts.
My dev-machine is a Mac with MacOs Ventura 13.1 and M1-chip.
I'm using these dependencies and they got loaded without any Gradle- or build error:
I'm trying to implement a string encryption using AES-256 in GCM mode with Lazysodium but the code fails and
ls.cryptoAeadAES256GCMIsAvailable()
return false.Running the (nearly) same code with ChaCha20Poly1305 gives the expected cipher- and decrypted-texts.
My dev-machine is a Mac with MacOs Ventura 13.1 and M1-chip.
I'm using these dependencies and they got loaded without any Gradle- or build error:
I setup a simple Android app (link to the app: https://github.com/AndroidCrypto/LazysodiumSymmetricEncryption) that shows the complete workflow, here are the essential parts:
Greetings and Happy new year to everyone Michael