-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a cautionary assert to
share_at_indices
to prevent user from mi…
…susing the api and passing 0 as index (#157) * Add an assert to make sure that no one passes 0 as an index to secret sharing * Add a comment warning users on share_at_indices * Change share_at_indices to recieve an iterator of NonZeroU16 to enforce non zero at the type level
- Loading branch information
Showing
1 changed file
with
19 additions
and
8 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