Closed wangjiejacques closed 2 years ago
In both the aes-cbc-registry.dart, aes-cbc-direct.dart, they use 128 as the pad blockSize,
pad(utf8.encode(textToEncrypt) as Uint8List, 128));
But this is incorrect, the blockSize for AES should be 16.
Hi,
Thanks this has been fixed and will be merged shortly.
MW
In both the aes-cbc-registry.dart, aes-cbc-direct.dart, they use 128 as the pad blockSize,
But this is incorrect, the blockSize for AES should be 16.