Learn R Programming

rbtc (version 0.1-5)

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)

Arguments

x

character, string in hex format.

Value

list, the decoded elements of the string.

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 BtcAdresses: BTCADR-class, PrivKey2PubKey, PrivKey2Wif, PubHash2BtcAdr, PubKey2PubHash, Wif2PrivKey, base58CheckEncode, concatHex, createBtcAdr, createPrivateKey, decodeHex, hash160, hash256, validBtcAdr