public interface Digest extends SecureComponent
Modifier and Type | Method and Description |
---|---|
byte[] |
doFinal()
Do the final processing and return the hash.
|
void |
putBigInteger(BigInteger bi)
Update the digest with a BigInteger value.
|
void |
putByte(byte b)
Put a single byte into the digest.
|
void |
putBytes(byte[] data)
Put a byte array into the digest.
|
void |
putBytes(byte[] data,
int offset,
int len)
Put a byte array into the digest
|
void |
putInt(int i)
Put an integer into the digest.
|
void |
putString(String str)
Put a String into the digest.
|
void |
reset()
Reset the underlying digest.
|
getAlgorithm, getPriority, getSecurityLevel
void putBigInteger(BigInteger bi)
bi
- void putByte(byte b)
b
- void putBytes(byte[] data)
data
- void putBytes(byte[] data, int offset, int len)
data
- offset
- len
- void putInt(int i)
i
- void putString(String str)
str
- void reset()
byte[] doFinal()
Copyright © 2024. All rights reserved.