jodd.util
Class Base32

java.lang.Object
  extended by jodd.util.Base32

public class Base32
extends java.lang.Object

Base32 encoding. Quite fast.


Constructor Summary
Base32()
           
 
Method Summary
static byte[] decode(java.lang.String base32)
          Decode a Base32 string into an array of binary bytes.
static java.lang.String encode(byte[] bytes)
          Encode an array of binary bytes into a Base32 string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base32

public Base32()
Method Detail

encode

public static java.lang.String encode(byte[] bytes)
Encode an array of binary bytes into a Base32 string.


decode

public static byte[] decode(java.lang.String base32)
                     throws java.lang.IllegalArgumentException
Decode a Base32 string into an array of binary bytes.

Throws:
java.lang.IllegalArgumentException


Copyright © 2003-2012 Jodd Team