Skip to content

pik/isaac-jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This is a port of ISAAC a fast CSPRNG from C, the original C code (by Bob Jenkins) may be found here http://burtleburtle.net/bob/rand/isaacafa.html.

Usage:

julia>rng = Isaac64(seed)

Will create an instance of Isaac64, note it does not seed itself! If a seed is not specified it will seed with 0's.

julia>seed=sysRandomSeed()

Will return an 256 long array of UInt64 values - On linux this should work by default (reading from "/dev/urandom"), specify sysrand_path to read from a different location.

julia>rand(rng)

returns a single Uint64 value

julia>rand(rng, T)

returns a single value of type T

About

A Julia port of ISAAC (a CSPRNG)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages