Crates.io | secure-random |
lib.rs | secure-random |
version | 0.0.1 |
source | src |
created_at | 2024-09-24 15:38:50.270246 |
updated_at | 2024-09-24 15:38:50.270246 |
description | Secure Random |
homepage | |
repository | https://github.com/nimble-rust/workspace |
max_upload_size | |
id | 1385369 |
size | 4,229 |
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
SecureRandom
trait for generating secure random u64
numbers.GetRandom
struct implements SecureRandom
using the
operating system’s random number generator.Add secure-random to your Cargo.toml:
[dependencies]
secure-random = "^0.0.1"
This project is licensed under the MIT License - see the LICENSE file for details.