org.springframework.security.crypto.codec
Class Hex
java.lang.Object
org.springframework.security.crypto.codec.Hex
public final class Hex
- extends Object
Hex data encoder. Converts byte arrays (such as those obtained from message digests)
into hexadecimal string representation.
For internal use only.
- Since:
- 3.0
Constructor Summary |
Hex()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hex
public Hex()
encode
public static char[] encode(byte[] bytes)
decode
public static byte[] decode(CharSequence s)