WEB6 days ago · Method: OpenSSL::KDF.scrypt. Defined in: ossl_kdf.c. permalink . scrypt (pass, salt: , N: ,r:, p: , length: ) ⇒ aString. Derives a key from pass using given parameters with the scrypt password-based key derivation function. The result can be used for password storage. scrypt is designed to be memory-hard and more secure against ...