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
Negate a private key This is a naive slow implementation but works on every platform
Negate a private key This is a naive slow implementation but works on every platform
- Returns:
negation of private key
- Source:
- Crypto.scala
- Value parameters:
- prefix
Private key prefix
- Returns:
the private key in Base58 (WIF) compressed format
- Source:
- Crypto.scala
Tweak this private key with the scalar value of tweak32
Tweak this private key with the scalar value of tweak32
- Value parameters:
- tweak32
the value (possibly a merkleRoot) used to tweak the private key
- Returns:
tweaked private key
- Source:
- Crypto.scala