PrivateKey

case class PrivateKey(value: ByteVector32)

Secp256k1 private key, which a 32 bytes value We assume that private keys are compressed i.e. that the corresponding public key is compressed

Value parameters:
value

value to initialize this key with

Companion:
object
Source:
Crypto.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def toBase58(prefix: Byte): String
Value parameters:
prefix

Private key prefix

Returns:

the private key in Base58 (WIF) compressed format

Source:
Crypto.scala

Inherited methods

Inherited from:
PrivateKeyPlatform (hidden)
Source:
CryptoPlatform.scala
Inherited from:
PrivateKeyPlatform (hidden)
Source:
CryptoPlatform.scala
Inherited from:
Product
Inherited from:
PrivateKeyPlatform (hidden)
Source:
CryptoPlatform.scala
Inherited from:
PrivateKeyPlatform (hidden)
Source:
CryptoPlatform.scala