public class HashUtils extends Object
| Constructor and Description |
|---|
HashUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64Decode(String s) |
static String |
base64Encode(String s) |
static String |
bitString(long number)
Get a String representations of the bit in a 64 bit long.
|
static String |
createId() |
static String |
hex(byte[] array) |
static String |
md5(byte[]... values) |
static String |
md5(Collection<?> values) |
static String |
md5(Object... values) |
static String |
md5Hex(Object... values) |
static String |
secureToken() |
static String |
sha1(Object... values) |
public static String md5(Collection<?> values)
public static String md5(byte[]... values)
public static String hex(byte[] array)
public static String createId()
public static String bitString(long number)
number - the long you want rendered as bitspublic static String secureToken()
Copyright © 2016 Inbot. All Rights Reserved.