ENT-650: fix insufficient entropy (CWE ID 331).