org.littleshoot.util
Class Base32

java.lang.Object
  extended by org.littleshoot.util.Base32

public final class Base32
extends Object

Base32 - encodes and decodes 'Canonical' Base32

Author:
Robert Kaye & Gordon Mohr

Constructor Summary
Base32()
           
 
Method Summary
static byte[] decode(String base32)
           
static String encode(byte[] bytes)
           
static void main(String[] args)
          For testing, take a command-line argument in Base32, decode, print in hex, encode, print
 
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 String encode(byte[] bytes)

decode

public static byte[] decode(String base32)

main

public static void main(String[] args)
For testing, take a command-line argument in Base32, decode, print in hex, encode, print



Copyright © 2011-2013 LittleShoot. All Rights Reserved.