Groups
Groups
Sign in
Groups
Groups
As3Crypto Discussion List
Conversations
About
Send feedback
Help
question about setting IV
31 views
Skip to first unread message
SP
unread,
Aug 5, 2009, 11:40:39 AM
8/5/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to As3Crypto Discussion List
I would like to explicitly set the IV. I think this is what I need to
do. Can someone verify?
var name : String = "aes" + "-" + "cbc";
var pad : IPad = new PKCS5();
var mode : ICipher = Crypto.getCipher(name, key, pad);
(IVMode (mode)).IV = "the IV bytes";
pad.setBlockSize(mode.getBlockSize());
mode.encrypt(data);
Reply all
Reply to author
Forward
0 new messages