|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fulcrum.jce.crypto.HexConverter
Helper class to for HEX conversion. The code uses parts from Markus Hahn's Blowfish library found at http://blowfishj.sourceforge.net/
Constructor Summary | |
HexConverter()
|
Method Summary | |
static byte[] |
toBytes(java.lang.String data)
Converts a hex string into a byte[] |
static java.lang.String |
toString(byte[] data)
Converts a byte array to a hex string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HexConverter()
Method Detail |
public static final java.lang.String toString(byte[] data)
data
- the byte array
public static final byte[] toBytes(java.lang.String data)
data
- the hex string
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |