123456789_123456789_123456789_123456789_123456789_

Class: OpenSSL::Digest::Digest

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: OpenSSL::Digest
Defined in: ext/openssl/lib/openssl/digest.rb

Overview

Deprecated.

This class is only provided for backwards compatibility. Use ::OpenSSL::Digest instead.

Class Method Summary

::OpenSSL::Digest - Inherited

.digest

Return the hash value computed with name Digest.

.new

Creates a Digest instance based on string, which is either the ln (long name) or sn (short name) of a supported digest algorithm.

Instance Method Summary

::OpenSSL::Digest - Inherited

#<<

Not every message digest can be computed in one single pass.

#block_length

Returns the block length of the digest algorithm, i.e. the length in bytes of an individual block.

#digest_length

Returns the output size of the digest, i.e. the length in bytes of the final message digest result.

#initialize_copy,
#name

Returns the sn of this Digest algorithm.

#reset

Resets the Digest in the sense that any #update that has been performed is abandoned and the Digest is set to its initial state again.

#update

Alias for #<<.

#finish

Constructor Details

This class inherits a constructor from OpenSSL::Digest