method

name

name()
public

Returns the sn of this Digest algorithm.

Example

digest = OpenSSL::Digest::SHA512.new
puts digest.name # => SHA512