mervick / aes-everywhere

Aes Everywhere - Cross Language AES 256 Encryption Library (Bash, Powershell, C#, Dart, GoLang, Java, JavaScript, Lua, PHP, Python, Ruby, Swift)
Other
474 stars 169 forks source link

Different decryption results with python and Java/Kotlin. #36

Closed sauravgupta108 closed 3 years ago

sauravgupta108 commented 3 years ago

I am using Java to encrypt and python to decrypt. Format of encrypted string is same in both cases (python & Java) but when I try decryption output result is in some kind of unicode data like "\x9f\xb79a\xf9\x8d...........". But this is not the case with Swift.

sauravgupta108 commented 3 years ago

Problem was because of invalid key being used. It was silly.