Hello,
I had exactly the same issue with encrypt library, so i tried to use pointycastle straight away.
in debug on web i have no problems.
The encryption and decryption works fully on debug.
The encryption works on release, but decryption breaks on release.
on release i get this:
Hello, I had exactly the same issue with encrypt library, so i tried to use pointycastle straight away. in debug on web i have no problems. The encryption and decryption works fully on debug. The encryption works on release, but decryption breaks on release. on release i get this:
using
CBCBlockCipher
andpointycastle: 3.7.4
and pad/unpad functions from here https://github.com/bcgit/pc-dart/blob/ab532655475ff885b65c1860ff57950b066fadc2/tutorials/examples/aes-cbc-direct.dart#L118Does someone know why it works on debug, but not on release?