![]() That is %40 times slower than AES-128 since it requires 14 rounds. If you use a password it will generate a 256-bit size. According to your key size it will select the key variants. You should you padding like padding: 7Īs I have read that CryptoJS expect to use 256 key size if I pass a password.ĬryptoJS supports AES-128, AES-192, and AES-256. you want to pad the message yourself, probably that is you want to test a new padding scheme that we don't see in your code.your message is an exact multiple of the block size, though still not recommended.The example is multiple of 16-byte that causes no problem, however your next plaintext is not. You have used the noPadding and that is the issue. This worked, but if I want to use a different plain text like 'Hello World' then it failed.
0 Comments
Leave a Reply. |