decodeHex {rbtc}R Documentation

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

Author(s)

Bernhard Pfaff

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

suppressWarnings(RNGversion("3.5.0"))
pk <- createPrivateKey()
decodeHex(pk)

[Package rbtc version 0.1-6 Index]