Module dbc::keytweak

source ·
Expand description

Homomorphic key tweaking-based deterministic commitment scheme.

Embed-commit: a) PublicKey, Msg -> PublicKey', PublicKey; b) Set<PublicKey>, Msg -> Set<PublicKey>', PublicKey; c) LockScript, Msg -> LockScript', (LockScript, PublicKey); d) (psbt::Output, TxOut), Msg -> (psbt::Output, TxOut)', KeytweakProof; e) PSBT, Msg -> PSBT', KeytweakProof; Convolve-commit: d) PubkeyScript, SpkDescriptor, Msg -> PubkeyScript'; e) TxOut, SpkDescriptor, Msg -> TxOut'; f) Tx, SpkDescriptor, Msg -> Tx';