Skip to content

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

isaac

Nim implementation of ISAAC - a cryptographically secure PRNG.

API:

typeIsaacGenerator*=refobjectprocnewIsaacGenerator*(seed: array[256, uint32]): IsaacGenerator## Initializes and returns ISAAC PRNG instance.## Make sure the seed is an array of *true random values* obtained from a## source like urandom. Otherwise, security of the algorithm is compromised.procnextU32*(generator: IsaacGenerator): uint32## Returns the next generated 32-bit valueprocrandomUint32*(generator: IsaacGenerator): uint32## Alias for ``nextU32``. Added for compatibility with nim-random library.

License

This library is licensed under the MIT license. Read LICENSE file for details.

Copyright (c) 2016 Xored Software, Inc.

About

ISAAC PRNG implementation on Nim

Topics

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages