Wif2PrivKey | R Documentation |
Returns the corresponding private key from a WIF key.
Wif2PrivKey(wif)
wif |
|
character
, the corresponding private key.
Bernhard Pfaff
https://en.bitcoin.it/wiki/Wallet_import_format,
https://en.bitcoin.it/wiki/Address
Other BtcAdresses: BTCADR-class
,
PrivKey2PubKey
, PrivKey2Wif
,
PubHash2BtcAdr
,
PubKey2PubHash
,
base58CheckDecode
,
base58CheckEncode
, concatHex
,
createBtcAdr
,
createPrivateKey
, decodeHex
,
hash160
, hash256
,
validBtcAdr
suppressWarnings(RNGversion("3.5.0"))
pk1 <- createPrivateKey()
wif <- PrivKey2Wif(pk1)
pk2 <- Wif2PrivKey(wif)
identical(pk1, pk2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.