-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a context is created and not randomized then it is susceptible to sidechannel attacks (quoting what I've read). Currently it is easy for users to mis-use our API because they may not know that `randomize()` should be called. We can better assist users by making APIs that are hard to mis-use. If the `rand` feature is enabled we can optimistically call `randomize` when creating a context as we do for the global context. Also, add documentation highlighting the benefit of using the `rand` feature. Resolves: #225
- Loading branch information
Showing
2 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters