- Companion:
- object
- Source:
- Crypto.scala
Value members
Concrete methods
Construct a new XOnlyPublicKey
by (optionally) tweaking this one with
a merkleRoot
(the tweak). The tweak is used to create a private key
t
with corresponding public key T
and the returned public key is
this.pointAdd(T)
.
Construct a new XOnlyPublicKey
by (optionally) tweaking this one with
a merkleRoot
(the tweak). The tweak is used to create a private key
t
with corresponding public key T
and the returned public key is
this.pointAdd(T)
.
- Returns:
tweaked XOnlyPublicKey
- Source:
- Crypto.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
- Returns:
a string representation of the object.
- Definition Classes
- Any
- Source:
- Crypto.scala
Calculates a taggedHash(m,"TapTweak")
where m:ByteVector32
is
calculated as: val m = if(merkleRoot.isEmpty) thisXOnlyPublicKey.value
++ merkleRoot else thisXOnlyPublicKey.value
Calculates a taggedHash(m,"TapTweak")
where m:ByteVector32
is
calculated as: val m = if(merkleRoot.isEmpty) thisXOnlyPublicKey.value
++ merkleRoot else thisXOnlyPublicKey.value
- Returns:
a unique "tweak" corresponding to
- Source:
- Crypto.scala