com.jcraft.jsch.jce
Class SHA256

java.lang.Object
  extended by com.jcraft.jsch.jce.SHA256
All Implemented Interfaces:
HASH

public class SHA256
extends Object
implements HASH


Constructor Summary
SHA256()
           
 
Method Summary
 byte[] digest()
           
 int getBlockSize()
           
 void init()
           
 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 Detail

SHA256

public SHA256()
Method Detail

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in interface HASH

init

public void init()
          throws Exception
Specified by:
init in interface HASH
Throws:
Exception

update

public void update(byte[] foo,
                   int start,
                   int len)
            throws Exception
Specified by:
update in interface HASH
Throws:
Exception

digest

public byte[] digest()
              throws Exception
Specified by:
digest in interface HASH
Throws:
Exception


Copyright © 2014 JCraft,Inc.. All Rights Reserved.