Closed (cannot reproduce)
Project:
AES encryption
Version:
6.x-1.4
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2010 at 11:03 UTC
Updated:
28 Dec 2010 at 16:36 UTC
I've tested $custom_iv = 'string leng is 16';
String input and string decrypt sometime different.
Help me please!
Comments
Comment #1
dp541 commentedOk!
The problems is $custom_iv ='24 string length' ;
Right?
Comment #2
easyfit commentedI've just checked the code in an older version quickly, and aes_decrypt expects a custom IV to be base64 encoded. So maybe you can try doing: $custom_iv = base64_encode("24 string length");
I'm not sure that it would matter though, I haven't tested that very much and I don't know much about the underlying encryption either, so you're pretty much on your own here. Let me know if you can verify any bugs.
Comment #3
dp541 commentedThanks you, i'm checking this!
Comment #4
easyfit commented