Skip to content

class Digest::MD5
inherits OpenSSL::Digest

Implements the MD5 digest algorithm.

Warning: MD5 is no longer a cryptographically secure hash, and should not be used in security-related components, like password hashing. For passwords, see Crypto::Bcrypt::Password. For a generic cryptographic hash, use SHA-256 via Digest::SHA256.

Extended modules

Digest::ClassMethods

Class methods

Methods

#dup

Returns a shallow copy of this object.

This allocates a new object and copies the contents of self into it.

View source