secure-random

Crates.iosecure-random
lib.rssecure-random
version0.0.1
sourcesrc
created_at2024-09-24 15:38:50.270246
updated_at2024-09-24 15:38:50.270246
descriptionSecure Random
homepage
repositoryhttps://github.com/nimble-rust/workspace
max_upload_size
id1385369
size4,229
Peter Bjorklund (piot)

documentation

README

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 random u64 numbers.
  • Default Implementation: GetRandom struct implements SecureRandom 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.

Commit count: 132

cargo fmt