Posted by FD on 07/14/05 00:59
FD wrote:
> I am having a big problem with the following line... it runs very well
> on linux but I don't get why it doesn't work on winxp
> $_SESSION['_mcrypt_iv'] =
> mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256,
> MCRYPT_MODE_ECB), MCRYPT_DEV_URANDOM);
>
> I am getting a warning
> Warning: mcrypt_create_iv(): Cannot open source device in
> C:\apache\htdocs\filename.php
>
> any suggestion..
>
> thanks
>
Well.. I've found the anwser myself... windows doesn't support
MCRYPT_DEV_URANDOM but MCRYPT_RANDOM
thanks anyway
Navigation:
[Reply to this message]
|