Skip to content

zeroize: add borrowed zeroizing guard - #1583

Open
mattrighetti wants to merge 1 commit into
RustCrypto:masterfrom
mattrighetti:zeroize/zeroizing-ref
Open

mattrighetti wants to merge 1 commit into
RustCrypto:masterfrom
mattrighetti:zeroize/zeroizing-ref

Conversation

@mattrighetti

@mattrighetti mattrighetti commented Oct 30, 2026 •

Copy link
Copy Markdown

Adds a borrowed guard that zeroizes its referenced value when dropped, along with documentation and tests.

Closes #1509

@mattrighetti
mattrighetti force-pushed the zeroize/zeroizing-ref branch from 7cc042e to 438096f Compare October 30, 2026 18:24

This branch has not been deployed

No deployments
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.

Borrowed zeroizing guard for &mut [u8]

1 participant