MCPcopy Create free account
hub / github.com/BitVM/BitVM / BruteforceVerifier

Class BruteforceVerifier

bitvm/src/signatures/winternitz.rs:428–428  ·  view source on GitHub ↗

Winternitz signature verification using brute force. ## Verification Algorithm Tries each possible digit value. ## Signature Format - `hash(digit[0])` - `hash(digit[1])` - ... - `hash(digit[n + m - 1])` There are `n` message digits followed by `m` checksum digits. ## Approximate Max Stack Depth Used During Verification `total_length()`

Source from the content-addressed store, hash-verified

426///
427/// `total_length()`
428pub struct BruteforceVerifier {}
429
430impl Verifier for BruteforceVerifier {
431 /// Creates a Winternitz signature for the given `secret_key` and `digits`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected