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

Implement drop for private keys #2

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Implement drop for private keys #2

merged 1 commit into from
Apr 5, 2024

Conversation

ChrisSchinnerl
Copy link
Member

That way they get cleared when they go out of scope. Something I have observed in other Rust libs.
This also removes anything that copies the entropy and replaces it with AsRef to allow for referencing the entropy but not copying it.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Apr 5, 2024
@n8maninger n8maninger merged commit 8cb3626 into master Apr 5, 2024
1 check passed
@n8maninger n8maninger deleted the chris/drop-keys branch April 5, 2024 14:31
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.

2 participants