public class SHA1 extends Checksum
| Constructor and Description |
|---|
SHA1() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArray()
Returns the result of the computation as byte array.
|
int |
getOrder() |
void |
reset()
Resets the checksum to its initial value for further use.
|
void |
update(byte b)
Updates the checksum with the specified byte.
|
void |
update(byte[] bytes,
int offset,
int length)
Updates the current checksum with the specified array of bytes.
|
public void reset()
Checksumpublic void update(byte[] bytes,
int offset,
int length)
Checksumpublic void update(byte b)
Checksumpublic byte[] getByteArray()
ChecksumgetByteArray in class Checksum