Skip to content

therealmik/norxpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

norxpy

Python/Numpy implementation of https://norx.io/

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 = F.new(nonce, key)

And just call:

F(state)

to perform a single round.

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

About

Python/Numpy implementation of https://norx.io/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages