AESCrypt-ObjC icon indicating copy to clipboard operation
AESCrypt-ObjC copied to clipboard

AES algorithm

Open efung opened this issue 12 years ago • 3 comments

re:

https://github.com/Gurpartap/AESCrypt-ObjC/blob/master/NSData%2BCommonCrypto.m#L177

The method name says AES256, but the algorithm identifier uses AES-128. The key being passed in is also the output from SHA-256, so it's a 256-bit key.

Mismatches?

efung avatar Sep 11 '13 20:09 efung

+1 this confused me also (trying to implement Android version)

scottyab avatar Sep 24 '14 13:09 scottyab

i got this type of error :- Invalid length for a Base-64 char array.

nileshkotkar avatar Feb 26 '15 13:02 nileshkotkar

It's the same algorithm, just depends on the key size which appears to be dynamic in this implementation. http://stackoverflow.com/a/9617238/623487

rbonestell avatar Jan 10 '16 02:01 rbonestell