C# Class KeeTrayTOTP.Libraries.Base32

Utility to deal with Base32 encoding and decoding.
http://tools.ietf.org/html/rfc4648
Mostra file Open project: victor-rds/KeeTrayTOTP Class Usage Examples

Public Methods

Method Description
Decode ( string base32 ) : byte[]

Takes a base 32 encoded value and converts it back to binary data.

Encode ( byte data ) : string

Takes a block of data and converts it to a base 32 encoded string.

Method Details

Decode() public static method

Takes a base 32 encoded value and converts it back to binary data.
public static Decode ( string base32 ) : byte[]
base32 string Base 32 encoded string.
return byte[]

Encode() public static method

Takes a block of data and converts it to a base 32 encoded string.
public static Encode ( byte data ) : string
data byte Input data.
return string