| Constructor and Description |
|---|
BaseDigest(java.lang.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,
int start,
int len) |
public BaseDigest(java.lang.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 Digestpublic void init()
throws java.lang.Exception
public void update(byte[] foo,
int start,
int len)
throws java.lang.Exception
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.