Method: OpenSSL::PKCS5.pbkdf2_hmac
- Defined in:
- lib/openssl/pkcs5.rb
.pbkdf2_hmac(pass, salt, iter, keylen, digest) ⇒ Object
OpenSSL::PKCS5.pbkdf2_hmac has been renamed to OpenSSL::KDF.pbkdf2_hmac. This method is provided for backwards compatibility.
13 14 15 16 |
# File 'lib/openssl/pkcs5.rb', line 13 def pbkdf2_hmac(pass, salt, iter, keylen, digest) OpenSSL::KDF.pbkdf2_hmac(pass, salt: salt, iterations: iter, length: keylen, hash: digest) end |