sfc-rs (rand_sfc
) is an implementation of
Chris Doty-Humphrey's Small Fast Chaotic PRNGs written in pure Rust.
This crate provides:
- sfc64
- sfc32
- sfc16
This crate supports version 4 of the SFC algorithms.
Run the following command in your project directory:
cargo add rand_sfc
Enables the serde
crate.
This crate supports no_std
mode.
See the documentation for more details.
The minimum supported Rust version (MSRV) of this library is v1.85.0.
The upstream repository is available at https://github.com/sorairolake/sfc-rs.git.
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
This crate depends on the rand_core
crate created by the Rand project.
The implementation of this crate is based on the reference implementation provided by PractRand, which is licensed under the public domain.
Copyright (C) 2025 Shun Sakai (see AUTHORS.adoc)
This library is distributed under the terms of either the Apache License 2.0 or the MIT License.
This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.