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

Add sign_deterministic and improve nonce generation. #19

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

hdevalence
Copy link
Member

This commit changes the nonce generation to insert the secret key as the first 32 bytes of the randomness used to compute the nonce. This ensures that if a weak or no RNG is supplied, nonces are still unpredictable without knowledge of the secret key.

We do not otherwise deviate from the original RedDSA choice of 80 bytes of randomness.

This commit changes the nonce generation to insert the secret key as the first
32 bytes of the randomness used to compute the nonce.  This ensures that if a
weak or no RNG is supplied, nonces are still unpredictable without knowledge of
the secret key.

We do not otherwise deviate from the original RedDSA choice of 80 bytes of randomness.
@hdevalence hdevalence merged commit 093de0e into main Nov 15, 2023
6 checks passed
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