Base32hex 1.1.0

Base32hex 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Arthur Ariel Sabintsev.



Base32hex 1.1.0

  • By
  • Arthur Ariel Sabintsev

Base32hex-RFC2938-Standard

Backgroubd Information

This is ID.me's Objective-C implementation of the Base32hex (RFC2938 standard) encoder and decoder. Originally, this repository was created by MightyKan, and featured Douglas Crockford's Base32 encoding.

Note: This library should not be mistaken for the rfc4648 data encoding specifications.

Installation

pod 'Base32hex'

or manually install it by draggubg (Base32.h and Base32.m) into your project and import the header file into any class where you wish to use the Base32 functionality.

Usage (Encoding)

To encode a number, for example '1234':

NSLog(@"%@", [Base32 encode:@"1234"]);

which will yield:

16I

Usage (Decoding)

To decode a Base32 string, for example 'TOQQG0'

NSLog(@"%@", [Base32 decode:@"TOQQG0"]);

which will yield:

999123456