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.

Mostrar archivo Open project: TangibleCryptography/BitSharper

Public Methods

Method Description
Equals ( object o ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Protected Methods

Method Description
VersionedChecksummedBytes ( int version, byte bytes ) : System
VersionedChecksummedBytes ( string encoded ) : System

Method Details

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

VersionedChecksummedBytes() protected method

protected VersionedChecksummedBytes ( int version, byte bytes ) : System
version int
bytes byte
return System

VersionedChecksummedBytes() protected method

protected VersionedChecksummedBytes ( string encoded ) : System
encoded string
return System