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)

Requirements

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

HOW TO USE

  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.

Source Distribution

FNNH-0.0.6.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

FNNH-0.0.6-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file FNNH-0.0.6.tar.gz.

File metadata

  • Download URL: FNNH-0.0.6.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for FNNH-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b83a56ea06f37974744a073cc3ea9b5813eeb44eddef8a3d4fe2935ec9ebecd7
MD5 fe1765214e92fb3276e3425addc21aa1
BLAKE2b-256 2971bf51d5c5409dd2350ef0b65eca501c27c9bfe12cd1428cd2c5c87fab6ff2

See more details on using hashes here.

File details

Details for the file FNNH-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: FNNH-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for FNNH-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 29b62bb28e5254b814607ca9833af31c7627a76a38d0ac101bd602ff88ce48f7
MD5 e14a2ebd7f5905ac745194cf669fc324
BLAKE2b-256 0bdb6ad617456996d9d0c02a2ba7e9cae7bef6583abec2df785ca754af27806f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page