-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add random*
methods on Uint
#440
Comments
DaniPopes
added a commit
to DaniPopes/uint
that referenced
this issue
Feb 28, 2025
DaniPopes
added a commit
to DaniPopes/uint
that referenced
this issue
Feb 28, 2025
DaniPopes
added a commit
to DaniPopes/uint
that referenced
this issue
Feb 28, 2025
DaniPopes
added a commit
to DaniPopes/uint
that referenced
this issue
Feb 28, 2025
DaniPopes
added a commit
to DaniPopes/uint
that referenced
this issue
Mar 4, 2025
DaniPopes
added a commit
to DaniPopes/uint
that referenced
this issue
Mar 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
alloy_primitives::FixedBytes
we have::random()
,::randomize()
etc https://github.com/alloy-rs/core/blob/047af040dc4a4c76c3ba0fa1b6e60ba295762937/crates/primitives/src/bits/fixed.rs#L367-L444Implement these in
rand
support in the same style, treating thelimbs
array as a byte array instead ([u8; _]
).The
try_*
methods aren't necessary.The text was updated successfully, but these errors were encountered: