Learn R Programming

rbtc (version 0.1-5)

decodeHex: Decoding of a hex string

Description

This function converts a hex string,, whereby the string must not contain the 0x prefix, to a list object with the associated integers as its elements.

Usage

decodeHex(s)

Arguments

s

character, the hex string.

Value

list

References

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

See Also

Other BtcAdresses: BTCADR-class, PrivKey2PubKey, PrivKey2Wif, PubHash2BtcAdr, PubKey2PubHash, Wif2PrivKey, base58CheckDecode, base58CheckEncode, concatHex, createBtcAdr, createPrivateKey, hash160, hash256, validBtcAdr

Examples

Run this code
# NOT RUN {
pk <- createPrivateKey()
decodeHex(pk)
# }

Run the code above in your browser using DataLab