Isaac

ISAAC stream cipher. You can initialize the cipher with a list of integers.

iex> ctx = Isaac.init [1,2,3,4]
""
iex> Isaac.next_int ctx
-62146914

Summary

init(seeds)

Initializes the ISAAC cipher with the given seed. The seed is a list of integers

next_int(ctx)

Yields a random integer

Functions

init(seeds)

Initializes the ISAAC cipher with the given seed. The seed is a list of integers.

ctx = Isaac.init [1,2,3,4]

next_int(ctx)

Yields a random integer