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

Method total_digit_len

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

Total number of digits (message plus checksum).

(&self)

Source from the content-addressed store, hash-verified

61
62 /// Total number of digits (message plus checksum).
63 pub const fn total_digit_len(&self) -> u32 {
64 self.message_digit_len + self.checksum_digit_len
65 }
66}
67
68/// Returns the secret key for given digit, appending the representation of it in bigger endian bytes to the message secret key

Callers 9

WotsInterface · 0.80
generate_public_keyFunction · 0.80
sign_digitsMethod · 0.80
sign_digitsMethod · 0.80
try_maliciousFunction · 0.80
sign_signed_digitsFunction · 0.80

Calls

no outgoing calls