Class PrefixedChecksummedBytes

java.lang.Object
org.bitcoinj.core.PrefixedChecksummedBytes
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Address, BIP38PrivateKey, DumpedPrivateKey

public abstract class PrefixedChecksummedBytes extends Object implements Serializable, Cloneable

The following format is often used to represent some type of data (e.g. key or hash of key):

 [prefix] [data bytes] [checksum]
 

and the result is then encoded with some variant of base. This format is most commonly used for addresses and private keys exported using Bitcoin Core's dumpprivkey command.

See Also: