Lines Matching defs:digest
13 * PKCS5.pbkdf2_hmac(pass, salt, iter, keylen, digest) => string
20 * * +digest+ - a string or OpenSSL::Digest object.
27 ossl_pkcs5_pbkdf2_hmac(VALUE self, VALUE pass, VALUE salt, VALUE iter, VALUE keylen, VALUE digest)
35 md = GetDigestPtr(digest);
130 * length of the underlying digest function, otherwise an attacker could
132 * limited by the output length of the underlying digest function, i.e.
134 * digest output length is chosen. Therefore, when using PKCS5 for
135 * password storage, it suffices to store values equal to the digest
150 * digest = OpenSSL::Digest::SHA256.new
151 * len = digest.digest_length
153 * value = OpenSSL::PKCS5.pbkdf2_hmac(pass, salt, iter, len, digest)