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

Method message_byte_len

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

Maximum byte length of supported messages.

(&self)

Source from the content-addressed store, hash-verified

56
57 /// Maximum byte length of supported messages.
58 pub const fn message_byte_len(&self) -> u32 {
59 (self.message_digit_len * self.log2_base).div_ceil(8)
60 }
61
62 /// Total number of digits (message plus checksum).
63 pub const fn total_digit_len(&self) -> u32 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected