org.abstractj.kalium.crypto
public class Hash extends Object
Modifier and Type | Field and Description |
---|---|
private static byte[] |
buffer |
private static int |
KEY_LEN |
private static int |
SALTBYTES |
Constructor and Description |
---|
Hash() |
Modifier and Type | Method and Description |
---|---|
String |
pwhash_scryptsalsa208sha256(String passwd,
Encoder encoder,
byte[] salt,
int opslimit,
long memlimit) |
byte[] |
sha256(byte[] message) |
String |
sha256(String message,
Encoder encoder) |
byte[] |
sha512(byte[] message) |
String |
sha512(String message,
Encoder encoder) |
private static final int KEY_LEN
private static final int SALTBYTES
private static byte[] buffer
Copyright © 2015. All Rights Reserved.