Google

Bouncy Castle Cryptography 1.11 API Specification: Class Hex
Bouncy Castle Cryptography 1.11

org.bouncycastle.util.encoders
Class Hex

java.lang.Object
  |
  +--org.bouncycastle.util.encoders.Hex

public class Hex
extends java.lang.Object

Converters for going from hex to binary and back.

Note: this class assumes ASCII processing.


Constructor Summary
Hex()
           
 
Method Summary
static byte[] decode(byte[] array)
           
static byte[] decode(java.lang.String string)
           
static byte[] encode(byte[] array)
           
static byte[] encode(byte[] array, int off, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hex

public Hex()
Method Detail

encode

public static byte[] encode(byte[] array)

encode

public static byte[] encode(byte[] array,
                            int off,
                            int length)

decode

public static byte[] decode(java.lang.String string)

decode

public static byte[] decode(byte[] array)

Bouncy Castle Cryptography 1.11