public class SHA1
extends java.lang.Object
Constructor and Description |
---|
SHA1() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
calculate(byte[] buffer) |
static byte[] |
calculate(byte[] buffer,
int offset,
int length) |
static byte[] |
calculate(java.nio.ByteBuffer buffer) |
static boolean |
verify(byte[] hash,
byte[] src,
int srcOffset,
int len) |
public static byte[] calculate(byte[] buffer, int offset, int length)
public static byte[] calculate(byte[] buffer)
public static byte[] calculate(java.nio.ByteBuffer buffer)
public static boolean verify(byte[] hash, byte[] src, int srcOffset, int len)