-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support sequential calls of encryption API (#23)
* Removing 'self.rng.clone()' as cloning resets the seed is insecure. - by removing the clone, cocoon has to be mutable now - all tests pass - this introduces a potential breaking change, but addresses a pretty big security risk. * Affected API: `encrypt`, `wrap`, `dump`. Some `mut`'s are not necessary, they will be cleaned up in the following commit.
- Loading branch information
1 parent
680b68c
commit 1b63921
Showing
2 changed files
with
110 additions
and
71 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
Oops, something went wrong.