C# Class Paymetheus.Bitcoin.Wallet.WalletSeed

Afficher le fichier Open project: btcsuite/Paymetheus

Méthodes publiques

Méthode Description
DecodeAndValidateUserInput ( string userInput, PgpWordList pgpWordList ) : byte[]

Decodes user input as either the hexadecimal or PGP word list encoding of a seed and validates the seed length.

EncodeWordList ( PgpWordList pgpWordList, byte seed ) : string[]
GenerateRandomSeed ( ) : byte[]

Private Methods

Méthode Description
DecodeUserInput ( string userInput, PgpWordList pgpWordList ) : byte[]

Method Details

DecodeAndValidateUserInput() public static méthode

Decodes user input as either the hexadecimal or PGP word list encoding of a seed and validates the seed length.
public static DecodeAndValidateUserInput ( string userInput, PgpWordList pgpWordList ) : byte[]
userInput string
pgpWordList PgpWordList
Résultat byte[]

EncodeWordList() public static méthode

public static EncodeWordList ( PgpWordList pgpWordList, byte seed ) : string[]
pgpWordList PgpWordList
seed byte
Résultat string[]

GenerateRandomSeed() public static méthode

public static GenerateRandomSeed ( ) : byte[]
Résultat byte[]