| Constructor and Description |
|---|
BaseDigest(String algorithm,
int bsize)
Create a new digest using the given algorithm and block size.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
digest() |
int |
getBlockSize() |
void |
init() |
void |
update(byte[] foo) |
void |
update(byte[] foo,
int start,
int len) |
public BaseDigest(String algorithm, int bsize)
MessageDigest object will be done in the init() method.algorithm - the JCE algorithm to use for this digestbsize - the block size of this digestpublic int getBlockSize()
getBlockSize in interface DigestCopyright © 2009–2014. All rights reserved.