aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc Tiehuis <marctiehuis@gmail.com>2018-03-30 01:36:04 +1300
committerMarc Tiehuis <marctiehuis@gmail.com>2018-03-30 01:50:58 +1300
commit0fd0f6fd1f4b9e02cc33eac304b9f6db242cbb67 (patch)
treedc06675959dce091f7fa58c138d4b567cf2ba87f /src
parent032fccf6151ff201ce4b8c7ab28ca460fed794c0 (diff)
downloadzig-0fd0f6fd1f4b9e02cc33eac304b9f6db242cbb67.tar.gz
zig-0fd0f6fd1f4b9e02cc33eac304b9f6db242cbb67.zip
Rewrite Rand functions
We now use a generic Rand structure which abstracts the core functions from the backing engine. The old Mersenne Twister engine is removed and replaced instead with three alternatives: - Pcg32 - Xoroshiro128+ - Isaac64 These should provide sufficient coverage for most purposes, including a CSPRNG using Isaac64. Consumers of the library that do not care about the actual engine implementation should use DefaultPrng and DefaultCsprng.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions