Scrypt-jane hashing function for node.js