Posted by C. on 05/31/07 21:45
On 31 May, 19:27, "Jon Slaughter" <Jon_Slaugh...@Hotmail.com> wrote:
> Of course I meant mcrypt_create_iv...
Code looks OK.
Are you getting a sensible value for mcrypt_enc_get_iv_size($this-
>CryptRes) ?
Have you tried using the devices as an entropy source?
IIRC mcrypt uses binary strings, in some cases it even assigns C
strings to PHP strings; it might be a better idea to encode the output
before writing to the console/browser:
echo base64_encode($iv) ."<br/>\n";
C.
Navigation:
[Reply to this message]
|