I
I
Ivan Ivanov2018-04-26 10:52:03
PHP
Ivan Ivanov, 2018-04-26 10:52:03

Why is the random_bytes function outputting cracklings?

For example, 5ae1851b211b6381537814.png
File test.php in utf-8 format, Code:

<?
echo random_bytes(32);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Volf, 2018-04-26
@romalu

I think this is because the function generates random bytes , not letters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question