How Is An Aes Key Processed When Calling Cryptojs.aes.encrypt/decrypt With A Non-standard Key Length?
I am currently having issues with decrypting items in C# that have been encrypted in CryptoJS using keys that are not of length 128, 192, or 256 bits. CryptoJS allows keys of 'odd'
Solution 1:
I took a quick look at the CryptoJS sources, and it seems to be the case that it silently does something nonstandard. If this is true, there is no way to replicate what it does using standard AES.
However, to make sure there is no key derivation or such, try doing an alert(result.key); and see if it's the same as your input.
Post a Comment for "How Is An Aes Key Processed When Calling Cryptojs.aes.encrypt/decrypt With A Non-standard Key Length?"