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

make adler32 available to users #11701

Closed
massimosala opened this issue Jun 4, 2023 · 1 comment
Closed

make adler32 available to users #11701

massimosala opened this issue Jun 4, 2023 · 1 comment

Comments

@massimosala
Copy link

It is already implemented here:

https://github.com/micropython/micropython/blob/master/lib/uzlib/adler32.c

Can you please make this a public method, in uzlib or hashlib?

It's a good implementation, rewriting it in Python is a waste of time and you have a slow routine.
IMHO adler32 is still useful in many cases, where other checksums are too expensive.

@massimosala
Copy link
Author

See the PR

#15322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant