Public Member Functions | |
int | getBlockSize () |
returns the size of the hash which will be produced from input. | |
void | init () throws Exception |
initializes the algorithm for new input data. | |
void | update (byte[] foo, int start, int len) throws Exception |
byte[] | digest () throws Exception |
Package Attributes | |
MessageDigest | md |
Definition at line 36 of file SHA1.java.
byte [] com.jcraft.jsch.jce.SHA1.digest | ( | ) | throws Exception |
Definition at line 48 of file SHA1.java.
References com.jcraft.jsch.jce.SHA1.md.
int com.jcraft.jsch.jce.SHA1.getBlockSize | ( | ) |
returns the size of the hash which will be produced from input.
This usually will be a constant function, like 16 for MD5 and 20 for SHA1.
Implements com.jcraft.jsch.HASH.
void com.jcraft.jsch.jce.SHA1.init | ( | ) | throws Exception |
initializes the algorithm for new input data.
This will be called before the first call to update.
Implements com.jcraft.jsch.HASH.
Definition at line 39 of file SHA1.java.
References com.jcraft.jsch.jce.SHA1.md.
void com.jcraft.jsch.jce.SHA1.update | ( | byte[] | foo, | |
int | start, | |||
int | len | |||
) | throws Exception |
Definition at line 45 of file SHA1.java.
References com.jcraft.jsch.jce.SHA1.md.
MessageDigest com.jcraft.jsch.jce.SHA1.md [package] |
Definition at line 37 of file SHA1.java.
Referenced by com.jcraft.jsch.jce.SHA1.digest(), com.jcraft.jsch.jce.SHA1.init(), and com.jcraft.jsch.jce.SHA1.update().