Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.24
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.24
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD