Skip to content

therealmik/norxpy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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