Improved unix os_random (reading from /dev/[u]random)
Rewrote redundant code in PBKDF2 implementation.