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

Zeroize support #52

Open
stackinspector opened this issue Mar 31, 2023 · 1 comment
Open

Zeroize support #52

stackinspector opened this issue Mar 31, 2023 · 1 comment

Comments

@stackinspector
Copy link

Zeroize while dropping prevents accidental leakage of keccak state, which helps improve security when used in sensitive cases such as stream ciphers. Most of RustCrypto's cryptography projects have optional zeroize support.
Despite the original intent of the library seems to be as tiny as possible, I don't think adding an optional support significantly bloats it.

@stackinspector
Copy link
Author

stackinspector commented May 11, 2023

Do the [u64; 5] buffer used in the keccak function need to be zeroized on drop if using in sensitive cases? The version I forked and heavily modified implements zeroize on drop, and I have no idea about this.

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

No branches or pull requests

1 participant