public class Crypt
extends java.lang.Object
Constructor and Description |
---|
Crypt()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
digest(byte[] bytes,
java.security.MessageDigest md)
Deprecated.
|
static java.lang.String |
generateSecureCookie()
Deprecated.
|
static java.lang.String |
hex()
Deprecated.
|
static java.lang.String |
hexify(byte[] bytes)
Deprecated.
|
static java.lang.String |
lineSeparator()
Deprecated.
|
static java.lang.String |
md5(byte[] bytes)
Deprecated.
|
static java.lang.String |
md5(java.lang.String text)
Deprecated.
|
static java.security.SecureRandom |
random()
Deprecated.
|
static java.lang.String |
sha1(byte[] bytes)
Deprecated.
|
static java.lang.String |
sha1(java.lang.String text)
Deprecated.
|
public static java.lang.String hex()
public static java.lang.String lineSeparator()
public static java.security.SecureRandom random()
public static java.lang.String md5(java.lang.String text)
public static java.lang.String md5(byte[] bytes)
public static java.lang.String sha1(java.lang.String text)
public static java.lang.String sha1(byte[] bytes)
public static java.lang.String generateSecureCookie()
public static java.lang.String digest(byte[] bytes, java.security.MessageDigest md)
public static java.lang.String hexify(byte[] bytes)