C# Класс KeeTrayTOTP.Libraries.Base32

Utility to deal with Base32 encoding and decoding.
http://tools.ietf.org/html/rfc4648
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Decode() публичный статический Метод

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.
Результат byte[]

Encode() публичный статический Метод

Takes a block of data and converts it to a base 32 encoded string.
public static Encode ( byte data ) : string
data byte Input data.
Результат string