An open API service indexing awesome lists of open source software.

https://github.com/sbooth/drbgs

Deterministic random bit generators for Swift
https://github.com/sbooth/drbgs

prng swift

Last synced: 26 days ago
JSON representation

Deterministic random bit generators for Swift

Awesome Lists containing this project

README

          

# DRBGs

[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsbooth%2FDRBGs%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/sbooth/DRBGs)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsbooth%2FDRBGs%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/sbooth/DRBGs)

Swift implementations of the following deterministic random bit generators:

- [xoshiro256++](https://prng.di.unimi.it/xoshiro256plusplus.c)
- [xoshiro256**](https://prng.di.unimi.it/xoshiro256starstar.c)
- [xoshiro256+](https://prng.di.unimi.it/xoshiro256plus.c)
- [xoroshiro128++](https://prng.di.unimi.it/xoshiro128plusplus.c)
- [xoroshiro128**](https://prng.di.unimi.it/xoshiro128starstar.c)
- [xoroshiro128+](https://prng.di.unimi.it/xoshiro128plus.c)
- [splitmix64](https://prng.di.unimi.it/splitmix64.c)
- [xoshiro512++](https://prng.di.unimi.it/xoshiro512plusplus.c)
- [xoshiro512**](https://prng.di.unimi.it/xoshiro512starstar.c)
- [xoshiro512+](https://prng.di.unimi.it/xoshiro512plus.c)
- [wyrand](https://github.com/wangyi-fudan/wyhash)

## Documentation

The [latest documentation](https://swiftpackageindex.com/sbooth/DRBGs/main/documentation/drbgs) is hosted by [Swift Package Index](https://swiftpackageindex.com/).

All public classes, structs, and functions should be documented. If you notice a documentation shortcoming please [open a new issue](https://github.com/sbooth/DRBGs/issues/new/choose).

## License

Released under the [MIT License](https://github.com/sbooth/DRBGs/blob/main/LICENSE.txt).