Package com.jcraft.jsch.jce
Class SHA256
java.lang.Object
com.jcraft.jsch.jce.SHA256
- All Implemented Interfaces:
HASH
public class SHA256 extends java.lang.Object implements HASH
-
Constructor Summary
Constructors Constructor Description SHA256()
-
Method Summary
Modifier and Type Method Description byte[]
digest()
int
getBlockSize()
void
init()
java.lang.String
name()
void
update(byte[] foo, int start, int len)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SHA256
public SHA256()
-
-
Method Details
-
getBlockSize
public int getBlockSize()- Specified by:
getBlockSize
in interfaceHASH
-
init
public void init() throws java.lang.Exception -
update
public void update(byte[] foo, int start, int len) throws java.lang.Exception -
digest
public byte[] digest() throws java.lang.Exception -
name
public java.lang.String name()
-