Constructor and Description |
---|
BaseDigest(String algorithm,
int bsize)
Create a new digest using the given algorithm and block size.
|
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 Digest
public void update(byte[] foo, int start, int len) throws Exception
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.