4 ms·
getrandombytes() in librandombytes uses getrandom() or getentropy() or /dev/urandom (in decreasing order of priority), while getrandombytes() above uses /dev/ur
by tkhattra 4y ago
getrandombytes() in librandombytes uses getrandom() or getentropy() or /dev/urandom (in decreasing order of priority), while getrandombytes() above uses /dev/urandom exclusively.
- 1vuio0pswjnm7 4y ago"getrandombytes()" where do you see that above. Maybe you mean randombytes().
- tkhattra 4y agosorry, yes i meant randombytes()
- 1vuio0pswjnm7 4y agolibrandombytes is still exclusively for Linux, according the documentation included, unlike the original from 2008.