Java java.security MessageDigest fields, constructors, methods, implement or subclass

Example usage for Java java.security MessageDigest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.security MessageDigest.

The text is from its open source code.

Subclass

java.security.MessageDigest has subclasses.
Click this link to see all its subclasses.

Method

Objectclone()
Returns a clone if the implementation is cloneable.
byte[]digest(byte[] input)
Performs a final update on the digest using the specified array of bytes, then completes the digest computation.
byte[]digest()
Completes the hash computation by performing final operations such as padding.
StringgetAlgorithm()
Returns a string that identifies the algorithm, independent of implementation details.
intgetDigestLength()
Returns the length of the digest in bytes, or 0 if this operation is not supported by the provider and the implementation is not cloneable.
MessageDigestgetInstance(String algorithm)
Returns a MessageDigest object that implements the specified digest algorithm.
MessageDigestgetInstance(String algorithm, String provider)
Returns a MessageDigest object that implements the specified digest algorithm.
MessageDigestgetInstance(String algorithm, Provider provider)
Returns a MessageDigest object that implements the specified digest algorithm.
ProvidergetProvider()
Returns the provider of this message digest object.
booleanisEqual(byte[] digesta, byte[] digestb)
Compares two digests for equality.
voidreset()
Resets the digest for further use.
StringtoString()
Returns a string representation of this message digest object.
voidupdate(byte input)
Updates the digest using the specified byte.
voidupdate(byte[] input)
Updates the digest using the specified array of bytes.
voidupdate(ByteBuffer input)
Update the digest using the specified ByteBuffer.
voidupdate(byte[] input, int offset, int len)
Updates the digest using the specified array of bytes, starting at the specified offset.