Python/Numpy implementation of
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Python/Numpy implementation of

This is intended as a reference/educational implementation of NORX.

To create an instance of the round function, you can call

F = norx.NORX_F(32) or F = norx.NORX_F(64)

The NORX_F class has no real state - just initialized with some variables (rotation offsets, data types, etc).

You can get a new state array by calling:

state =, key)

And just call:


to perform a single round.

I've included a handy ufunc 'bitcount' which will count how many bits are set.