public final class CommonSha1Utils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
digestBits |
boolean |
digestValid |
| 构造器和说明 |
|---|
CommonSha1Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
digout()
Print out the digest in a form that can be easily compared to the test vectors.
|
String |
dumpTempState() |
void |
finish()
Complete processing on the message digest.
|
String |
getAlg()
Return a string that identifies this algorithm
|
void |
init()
SHA1Init - Initialize new context
|
void |
update(byte b)
Add one byte to the digest.
|
void |
update(byte[] input)
Add an array of bytes to the digest.
|
void |
update(byte[] input,
int offset,
int len)
Add specific bytes to the digest.
|
void |
updateASCII(String input)
Treat the string as a sequence of ISO-Latin1 (8 bit) characters.
|
public void update(byte[] input,
int offset,
int len)
public void update(byte[] input)
public void updateASCII(String input)
public void init()
public void update(byte b)
public void finish()
public String getAlg()
public String digout()
public String dumpTempState()
Copyright © 2017. All rights reserved.