Skip to main content

A flexible CNN based Hash Function

Project description

FNN-Hash (Flexible Neural Network - Hash)

A flexible EXPERIMENTAL Hashing algorithm that uses Neural Network architecture to calculate the Hash of a given string.

Some Notes

  • the node activation function is a threshold gate.
  • the number of nodes in inputlayer = 2 x no. of nodes in outout layer
  • and those number of nodes changed by user easily thus changing the size of hash generated.(max size = 1024 NOTE: 1024 size hash takes a lot of time so be patient when you request for a hash size of 1024)


  • make sure you have NUMPY (Thise was made on version 1.19.2)


  1. Run the Command pip install FNNH in your python ENV.
  2. and to use the algo write :
from FNNH import FNNH

data = "qwerty"
sizeofhash = 16
rounds = 64

thehash = FNNH(data,sizeofhash,rounds)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for FNNH, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size FNNH-0.0.6-py3-none-any.whl (17.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size FNNH-0.0.6.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page