1 unstable release
0.0.1 | Sep 24, 2024 |
---|
#63 in #u64
39 downloads per month
Used in 2 crates
3KB
Secure Random for Rust
Overview
The secure-random crate provides a simple and secure way to generate random numbers in Rust.
It defines a SecureRandom
trait for generating random u64
values and offers a default
implementation using the getrandom crate.
##Features
- Trait Definition:
SecureRandom
trait for generating secure randomu64
numbers. - Default Implementation:
GetRandom
struct implementsSecureRandom
using the operating system’s random number generator. - Integration: Seamlessly integrate secure random number generation into your projects.
Installation
Add secure-random to your Cargo.toml:
[dependencies]
secure-random = "^0.0.1"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~98–300KB