C# Класс Paymetheus.Bitcoin.Util.Base58

Implements the modified base58 encoding and decoding methods used by Bitcoin wallets.
Показать файл Открыть проект

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

Метод Описание
Decode ( string data ) : byte[]
Encode ( byte value ) : string
IsBase58Encoded ( string value ) : bool

Checks that the string is base58 encoded, and that it should decode without errors, by checking that each character in the string is a base58 digit.

TryDecode ( string encodedData, byte &decodedResult ) : bool

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

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

public static Decode ( string data ) : byte[]
data string
Результат byte[]

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

public static Encode ( byte value ) : string
value byte
Результат string

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

Checks that the string is base58 encoded, and that it should decode without errors, by checking that each character in the string is a base58 digit.
public static IsBase58Encoded ( string value ) : bool
value string The string to check.
Результат bool

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

public static TryDecode ( string encodedData, byte &decodedResult ) : bool
encodedData string
decodedResult byte
Результат bool