createPrivateKey: Creation of a private key

Description Usage Value Author(s) References See Also Examples

Description

Returns a random 256-bit private key in hex notation.

Usage

1

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

1
2

Example output

[1] "BB702FB17A59DC3600F65780A6CB873B1BA522852EC6788387588B13310EFDEC"
Warning message:
In createPrivateKey() : 
For exemplary purposes, only.
Use at your own risk!

rbtc documentation built on May 2, 2019, 6:11 p.m.

Related to createPrivateKey in rbtc...