Skip to content

fix(minor): checksum padding in W-OTS+ - #5

Open
qkniep wants to merge 1 commit into
surg0r:masterfrom
qkniep:fix/wpkey-checksum-padding
Open

fix(minor): checksum padding in W-OTS+#5
qkniep wants to merge 1 commit into
surg0r:masterfrom
qkniep:fix/wpkey-checksum-padding

Conversation

@qkniep

@qkniep qkniep commented May 21, 2026

Copy link
Copy Markdown

the prior padding would break in some edge-cases, e.g. if w=16, l_2=3 and the checksum has just one digit (i.e. it is < 16), also it would always pad to 3 digits, even if e.g. l_2=2 (wasting space in the signature)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant