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(corelib): ByteArray impl Hash trait #7042

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hudem1
Copy link

@hudem1 hudem1 commented Jan 9, 2025

Close #7015

Implement Hash trait for ByteArray

Example

let byte_array: ByteArray = "A simple ByteArray";
PoseidonTrait::new().update_with(byte_array).finalize()

@reviewable-StarkWare
Copy link

This change is Reviewable

@hudem1 hudem1 force-pushed the feat/bytearray_hash branch from 841c4c5 to 1380127 Compare January 9, 2025 23:54
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.

feat: ByteArray should impl Hash trait
2 participants