aes_crypt icon indicating copy to clipboard operation
aes_crypt copied to clipboard

The chunk 'file header' was expected to be 414553 but found EEFBE5

Open winnie-chaintope opened this issue 4 years ago • 6 comments

i have encryption file when i decrypt it i get the error The chunk 'file header' was expected to be 414553 but found EEFBE5 what does this mean??

  String decryptFile(String path) {
    AesCrypt crypt = AesCrypt();
    crypt.setOverwriteMode(AesCryptOwMode.on);
    crypt.setPassword('my-password');
    crypt.aesSetMode(AesMode.cbc);
    String decFilepath;
    try {
      decFilepath = crypt.decryptFileSync(path);
    } catch (e) {
      print(e);
    }
    return decFilepath;
  }

winnie-chaintope avatar Sep 03 '20 08:09 winnie-chaintope

@winnie-chaintope is this issue got resolved?

deepashree-ballodi avatar Oct 16 '20 10:10 deepashree-ballodi

@deepashree-ballodi nope. I ended up using another package

winnie-chaintope avatar Oct 16 '20 15:10 winnie-chaintope

@deepashree-ballodi nope. I ended up using another package

what's another package, please!!

312654929 avatar Nov 18 '20 09:11 312654929

@312654929 i use https://pub.dev/packages/encrypt for Aes.cbc https://pub.dev/packages/cryptography for Aes.gcm

winnie-chaintope avatar Nov 18 '20 09:11 winnie-chaintope

any update for this issue ?

mandreshope avatar Feb 19 '22 10:02 mandreshope

any update for this issue ?

mandreshope avatar Feb 19 '22 10:02 mandreshope