Implemented scrypt algorithm