I got `PlatformException (PlatformException(UNSUPPORTED_ALGORITHM, cryptography_flutter does not support algorithm null in Android., null, null)) ` Source code ``` final pbkdf2 = FlutterPbkdf2( macAlgorithm: Hmac.sha1(), iterations: 1001, bits: 256, ); final newSecretKey = await pbkdf2.deriveKeyFromPassword(password: pass, nonce: salt.codeUnits); // <-- throws error when running the deriveKeyFromPassword function. ``` ``` _internal.dart await _methodChannel.invokeMethod('encrypt', {}); <-- the error comes from this invokeMethod ``` It throws error only if I checked `All Exception` on vsCode breakpoints. 
Activity
haizadvnet commentedon Apr 2, 2023
I am using AES CBC.
I already edited the CryptographyFlutterPlugin.kt file
and still got the same error :/
jakenoble commentedon Aug 2, 2024
Did you get this working? I have the same error on
Hmac.sha512()andHmac.sha256()