Use openssl_random_pseudo_bytes to generate hash.
Merge branch 'use-secure-hash'