public class SHA1
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.security.MessageDigest |
md |
Modifier and Type | Method and Description |
---|---|
byte[] |
digest() |
static byte[] |
digest(byte[] message) |
void |
flush() |
void |
update(byte c) |
void |
update(byte[] data,
int off,
int len) |
public SHA1(Codec codec)
public SHA1()
public static byte[] digest(byte[] message)
public void update(byte c) throws CodecException
update
in interface Codec
CodecException
public void update(byte[] data, int off, int len) throws CodecException
update
in interface Codec
CodecException
public void flush() throws CodecException
flush
in interface Codec
CodecException
public byte[] digest()