C# Class Paymetheus.Bitcoin.Util.Base58

Implements the modified base58 encoding and decoding methods used by Bitcoin wallets.
Afficher le fichier Open project: btcsuite/Paymetheus

Méthodes publiques

Méthode Description
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

Method Details

Decode() public static méthode

public static Decode ( string data ) : byte[]
data string
Résultat byte[]

Encode() public static méthode

public static Encode ( byte value ) : string
value byte
Résultat string

IsBase58Encoded() public static méthode

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.
Résultat bool

TryDecode() public static méthode

public static TryDecode ( string encodedData, byte &decodedResult ) : bool
encodedData string
decodedResult byte
Résultat bool