Add SHA1 compute time source.

Based off https://github.com/GeorgeArgyros/Secure-random-bytes-in-PHP