Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect size of signature? #30

Open
a00012025 opened this issue Apr 6, 2024 · 1 comment
Open

Incorrect size of signature? #30

a00012025 opened this issue Apr 6, 2024 · 1 comment

Comments

@a00012025
Copy link
Contributor

Hi, I noticed that in the code/test_rpsss.py it has following line

print("size of signature:", len(sig), "bytes, or ", len(sig) / (2**13), "kB")

Which outputs

size of signature: 1309136 bytes, or  159.806640625 kB

Should it be divided by 2**10 because sig is an array of bytes? If so, the signature sizes in rescue-prime.md and faster.md would need to be updated.

Besides, thanks for the great tutorial!

@aszepieniec
Copy link
Owner

My guess is that at some point I thought I was dealing with bits, in which case the conversion factor is 2 13 .

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

No branches or pull requests

2 participants