There is such a piece of code.
mcrypt_create_iv(22, MCRYPT_DEV_URANDOM);
I get something like that on output
L \ V: # z
Please tell me how to fix this?
Found a solution. mcrypt_create_iv returns the result in binary form, so to get the ascii string you need to skip the result of its execution through bin2hex.
Source: https://ru.stackoverflow.com/questions/204227/
qwerty123
? - ReinRaus