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

feat: buffer to vec of vec u64/felts for wasm/python #470

Closed

Conversation

ethan-crypto
Copy link
Collaborator

This PR introduces a new Python and WASM binding that provides an injective function to convert arbitrary buffer data (Vec) from various sources like strings, files, etc. into field elements. Ideal for use as a pre-processing step before hashing with Poseidon, reducing the risk of hash collisions.

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.

1 participant