C# Class BitSharper.VersionedChecksummedBytes

In BitCoin the following format is often used to represent some type of key:

[one version byte] [data bytes] [4 checksum bytes]

and the result is then Base58 encoded. This format is used for addresses, and private keys exported using the "dumpprivkey" command.

Afficher le fichier Open project: TangibleCryptography/BitSharper

Méthodes publiques

Méthode Description
Equals ( object o ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Méthodes protégées

Méthode Description
VersionedChecksummedBytes ( int version, byte bytes ) : System
VersionedChecksummedBytes ( string encoded ) : System

Method Details

Equals() public méthode

public Equals ( object o ) : bool
o object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string

VersionedChecksummedBytes() protected méthode

protected VersionedChecksummedBytes ( int version, byte bytes ) : System
version int
bytes byte
Résultat System

VersionedChecksummedBytes() protected méthode

protected VersionedChecksummedBytes ( string encoded ) : System
encoded string
Résultat System