PrivKey2PubKey: Create public key from private key

View source: R/BtcAddresses.R

PrivKey2PubKeyR Documentation

Create public key from private key

Description

This function creates the 512-bit public key corresponding to a private key.

Usage

PrivKey2PubKey(privkey, mainnet = TRUE)

Arguments

privkey

character, the private key.

mainnet

logical, whether the WIF should correspond to the mainnet or testnet.

Value

character, the public key.

Author(s)

Bernhard Pfaff

References

https://en.bitcoin.it/wiki/Address

See Also

Other BtcAdresses: BTCADR-class, PrivKey2Wif, PubHash2BtcAdr, PubKey2PubHash, Wif2PrivKey, base58CheckDecode, base58CheckEncode, concatHex, createBtcAdr, createPrivateKey, decodeHex, hash160, hash256, validBtcAdr


rbtc documentation built on Oct. 20, 2024, 5:06 p.m.

Related to PrivKey2PubKey in rbtc...