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

Sha256 streaming encryption #441

Open
Anastasiya-Zhyrkevich opened this issue Sep 27, 2018 · 1 comment
Open

Sha256 streaming encryption #441

Anastasiya-Zhyrkevich opened this issue Sep 27, 2018 · 1 comment

Comments

@Anastasiya-Zhyrkevich
Copy link

Is it possible to apply sha256 to streaming, to avoid keeping whole buffer in memory?

@newpavlov
Copy link

newpavlov commented Oct 3, 2018

IIURC it's possible, but I would recommend to use sha2 crate instead. It supports streaming messages processing.

BTW, it's not encryption, but hashing. ;)

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

2 participants