pub struct TweakedKeyPair(_);
Expand description
Tweaked BIP-340 key pair
Implementations
Creates a new TweakedKeyPair
from a KeyPair
. No tweak is applied, consider
calling tap_tweak
on an UntweakedKeyPair
instead of using this constructor.
This method is dangerous and can lead to loss of funds if used incorrectly. Specifically, in multi-party protocols a peer can provide a value that allows them to steal.
Returns the underlying key pair
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TweakedKeyPair
impl Send for TweakedKeyPair
impl Sync for TweakedKeyPair
impl Unpin for TweakedKeyPair
impl UnwindSafe for TweakedKeyPair
Blanket Implementations
Mutably borrows from an owned value. Read more