|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commons.Encryption
public final class Encryption
Encryption support methods.
Field Summary | |
---|---|
static int |
HASH_REPETITIONS
|
static int |
SHA_HASH_LENGTH
|
Method Summary | |
---|---|
static byte[] |
hash(java.lang.String string,
java.lang.String salt)
Hash a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SHA_HASH_LENGTH
public static final int HASH_REPETITIONS
Method Detail |
---|
public static byte[] hash(java.lang.String string, java.lang.String salt)
string
- The string to hash.salt
- The salt to use for hashing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |