Learn R Programming

rbtc (version 0.1-5)

concatHex: Concatenate two hex strings

Description

This function concatenates two hex strings, provided without the 0x prefix, and returns a list object of the associated integers.

Usage

concatHex(hex1, hex2)

Arguments

hex1

character, a hex string.

hex2

character, a 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, createBtcAdr, createPrivateKey, decodeHex, hash160, hash256, validBtcAdr

Examples

Run this code
# NOT RUN {
h1 <- "80"
h2 <- createPrivateKey()
concatHex(h1, h2)
# }

Run the code above in your browser using DataLab