Class BaseDigest
java.lang.Object
net.schmizz.sshj.transport.digest.BaseDigest
- All Implemented Interfaces:
Digest
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseDigest(String algorithm, int bsize) Create a new digest using the given algorithm and block size. -
Method Summary
-
Field Details
-
algorithm
-
bsize
private final int bsize -
md
-
-
Constructor Details
-
BaseDigest
Create a new digest using the given algorithm and block size. The initialization and creation of the underlyingMessageDigestobject will be done in theinit()method.- Parameters:
algorithm- the JCE algorithm to use for this digestbsize- the block size of this digest
-
-
Method Details
-
digest
-
getBlockSize
public int getBlockSize()- Specified by:
getBlockSizein interfaceDigest
-
init
-
update
-
update
-