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

Chapter 4 – ”Generating a private key from a random number” #28

Closed
erikwam opened this issue May 25, 2014 · 1 comment
Closed

Comments

@erikwam
Copy link
Contributor

erikwam commented May 25, 2014

The paragraph (last part) under this headline states that:
"If the result is less than n - 1, we have a suitable private key. If it is greater than n - 1, we simply try again with another random number."

But how about the case when the result equals n - 1 ? To be consistent with the rest of the paragraph, perhaps it should say:

"If the result is less than n - 1, we have a suitable private key. Otherwise, we simply try again with another random number."

enderminh added a commit that referenced this issue May 26, 2014
@enderminh
Copy link
Collaborator

Sounds correct to me, so I made the change.

enderminh added a commit that referenced this issue May 27, 2014
enderminh added a commit that referenced this issue May 29, 2014
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