Error in AES?

Bengt Kleberg bengt.kleberg@REDACTED
Tue Mar 21 15:03:36 CET 2006


On 2006-03-21 14:29, Nils Müllner wrote:
...deleted
> 4> Text = "blubb".
> "blubb"
> 5> EnCipher = crypto:aes_cbc_128_encrypt(Key, IVec, Text).

according to the man page for crypto:
Text must be a multiple of 128 bits (16 bytes).

have you tried padding "blubb" to 16 bytes?


bengt



More information about the erlang-questions mailing list