Learn R Programming

rbch (version 0.1-2)

base58CheckDecode: Base 58 binary-to-text-decoding

Description

This is a modified binary-to-text decoding used for decoding Bitcoin addresses, aka Base58Check. If this is applied to a WIF address and the first and last four bytes are dropped, the result is the corresponding private key.

Usage

base58CheckDecode(x)

Value

list, the decoded elements of the string.

Arguments

x

character, string in hex format.

Author

Bernhard Pfaff

References

https://en.bitcoin.it/wiki/Wallet_import_format,
https://en.bitcoin.it/wiki/Address,
https://en.bitcoin.it/wiki/Base58Check_encoding

See Also

Other BchAdresses: BCHADR-class, BTCADR-class, PubHash2BchAdr(), PubKey2PubHash(), base58CheckEncode(), concatHex(), decodeHex(), hash160(), hash256(), validBchAdr(), validBtcAdr()