public final class Hex extends java.lang.Object
Utility methods that decodes hex String to byte array and encodes byte array to hex String.
decodes
String
encodes
For internal yubico-j use only, client code of yubico-j must not use.
static byte[]
decode(java.lang.String s)
static java.lang.String
encode(byte[] b)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static java.lang.String encode(byte[] b)
Encodes.
b
public static byte[] decode(java.lang.String s)
Decodes.
s
java.lang.NumberFormatException