Skip to main content

verify_commitment_signature_with_key

Function verify_commitment_signature_with_key 

Source
pub fn verify_commitment_signature_with_key(
    c: &StorageCommitment,
    public_key: &MlDsaPublicKey,
) -> bool
Expand description

Verify a commitment’s signature against an externally provided key.

Test-helper variant. Production code should use verify_commitment_signature since the key is embedded in the commitment.