java.lang.Object
org.seppiko.commons.utils.codec.Base32
All Implemented Interfaces:
Serializable, BaseNCodec

public class Base32 extends Object implements BaseNCodec, Serializable
Base32 encoding and decoding.
Author:
Leonard Woo
See Also:
  • Field Details

    • RFC4648

      public static final Base32 RFC4648
      The most widely used Base32 alphabet is defined in RFC 4648. It uses an alphabet of A–Z, followed by 2–7. The digits 0, 1 and 8 are skipped due to their similarity with the letters O, I and B (thus "2" has a decimal value of 26).
    • RFC4648_HEX

      public static final Base32 RFC4648_HEX
      The most widely used Base32 alphabet is defined in RFC 4648. It uses a digit of 0-9, followed by A–V.
    • ZBASE32

      public static final Base32 ZBASE32
      z-base-32 is a Base32 encoding designed by Zooko Wilcox-O'Hearn to be easier for human use and more compact. It includes 1, 8 and 9 but excludes l, v and 2. It also permutes the alphabet so that the easier characters are the ones that occur more frequently.
      See Also:
  • Method Details