Skip to content

sparkspay/neoscrypt_module

Repository files navigation

NeoScrypt

NeoScrypt is a strong memory intensive key derivation function.

Compile time definitions:

  • -DNEOSCRYPT_SHA256 enables optional SHA-256 support (Scrypt compatibility);
  • -DNEOSCRYPT_BLAKE256 enables optional BLAKE-256 support;
  • -DNEOSCRYPT_OPT enables FastKDF performance optimisations;
  • -DNEOSCRYPT_ASM enables 32-bit and 64-bit assembly optimisations;
  • -DNEOSCRYPT_MINER_4WAY enables 4-way mining per thread (requires -DNEOSCRYPT_ASM).

There are also test vectors and benchmarks available.

Documentation

Refer to the following white paper for an introduction to NeoScrypt: http://phoenixcoin.org/archive/neoscrypt_v1.pdf

Cythonized

Compiling and installing as PythonModule (python2/python3)

bash:~/: sudo python3.6 -m pip install git+https://github.com/m0r4k/neoscrypt_module.git  
  
or  
  
bash:~/: git clone git+https://github.com/m0r4k/neoscrypt_module.git
bash:~/: cd neoscrypt_module
bash:~/neoscrpyt_module/: sudo python3.6 setup.py install