Update scrypt.php

Added support for openssl_random_pseudo_bytes() and fixed a few bugs