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

Support for SHAKE128 #34

Open
MatthiasRoels opened this issue Feb 6, 2025 · 1 comment
Open

Support for SHAKE128 #34

MatthiasRoels opened this issue Feb 6, 2025 · 1 comment

Comments

@MatthiasRoels
Copy link

First of all, it would really say thank you for creating and publishing this plugin! As of this week, I have started to become a heavy user (running 100x daily batch jobs in production using Sha2 and Sha3 hashing expr).

We would like to further extend our use by replacing a piece of pandas code relying on https://docs.python.org/3/library/hashlib.html#hashlib.shake_128 in an apply. The hash we build is used downstream so we cannot easily change it. So for now, we plan to move the pandas code to Polars using map_elements to keep on using the same hashing function. However, it would be nice if this plugin can support that hash functionality too.

If permitted, I would really like a shot of implementing this myself (it has been a long-time personal goal to contribute to a Rust project/Polars plugin).

@ion-elgreco
Copy link
Owner

Yes, feel free to make a PR to add this feature! :) I see Sha3 crate, which we already depend on supports this: https://docs.rs/sha3/latest/sha3/type.Shake128.html

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