Simple API to perform AES encryption on Android. This is the Android counterpart to the AESCrypt library Ruby and Obj-C (with the same weak security defaults :( ) created by Gurpartap Singh. https://github.com/Gurpartap/aescrypt
Im getting (IV must be 16bytes long) when using the advance mode.
My encryptedText = "HE9257Ykdrnb7zZTbNYLcLNzsg24t2aEftUZ7Tr0BU0="
My IV = "618wNQX6K3k2343c" //My IV is 16byte long
I base 64 decode both using Base64.decode(encryptedText, Base64.NO_WRAP)
and Base64.decode(IV, Base64.NO_WRAP)
then pass in (SecretKeySpec, byte[] IV, byte[] encryptedText ) as parameter for advance mode,
but gave me an error (IV must be 16 bytes long).
Hello,
Im getting (IV must be 16bytes long) when using the advance mode.
My encryptedText = "HE9257Ykdrnb7zZTbNYLcLNzsg24t2aEftUZ7Tr0BU0=" My IV = "618wNQX6K3k2343c" //My IV is 16byte long
I base 64 decode both using Base64.decode(encryptedText, Base64.NO_WRAP) and Base64.decode(IV, Base64.NO_WRAP) then pass in (SecretKeySpec, byte[] IV, byte[] encryptedText ) as parameter for advance mode, but gave me an error (IV must be 16 bytes long).