/ dev / urandom maximum size

If you want to read N bytes guaranteed with / dev / urandom, is it safe to make one read call and guarantee that you will receive N bytes - or are there some operating systems that do not provide this guarantee and can do a short read from / dev / urandom?

+3
source share
2 answers

Reading from /dev/urandommay return to full satisfaction if interrupted by a signal.

+2
source

, , , , , . , - , /dev/urandom .

+2

Source: https://habr.com/ru/post/1783495/


All Articles