public final class Md5Digest extends MessageDigest
Constructor and Description |
---|
Md5Digest() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
engineDigest() |
protected int |
engineGetDigestLength() |
protected void |
engineReset() |
protected void |
engineUpdate(byte input) |
protected void |
engineUpdate(byte[] input,
int offset,
int len) |
static byte[] |
toBytes(long n)
Converts a long to a 8-byte array using low order first.
|
digest, digest, digest, getAlgorithm, getDigestLength, getInstance, isEqual, reset, update, update, update
engineDigest
public static byte[] toBytes(long n)
n
- A long.protected byte[] engineDigest()
engineDigest
in class MessageDigestSpi
protected int engineGetDigestLength()
engineGetDigestLength
in class MessageDigestSpi
protected void engineReset()
engineReset
in class MessageDigestSpi
protected void engineUpdate(byte input)
engineUpdate
in class MessageDigestSpi
protected void engineUpdate(byte[] input, int offset, int len)
engineUpdate
in class MessageDigestSpi
Copyright © 2018. All rights reserved.