Since you&#x27;re only targeting Linux, if you are fine with requiring recent kernels (3.17), you should probably use getrandom(2): <a href="http:&#x2F;&#x2F;man7.org&#x2F;linux&#x2F;man-pages&#x2F;man2&#x2F;getrandom.2.html" rel="nofollow">http:&#x2F;&#x2F;man7.org&#x2F;linux&#x2F;man-pages&#x2F;man2&#x2F;getrandom.2.html</a>