createPrivateKey {rbtc} | R Documentation |
Creation of a private key
Description
Returns a random 256-bit private key in hex notation.
Usage
createPrivateKey()
Value
character
.
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
, decodeHex
,
hash160
, hash256
,
validBtcAdr
Examples
suppressWarnings(RNGversion("3.5.0"))
createPrivateKey()
[Package rbtc version 0.1-6 Index]