/Hashing-Algorithm

An algorithm to generate hashes from strings of any length.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Hashing-Algorithm

!!!DO NOT use this algorithm for public projects as I am not an expert in this field!!!

An algorithm to generate hashes from strings of any length.

Parameters:

  • string
  • key1: Any integer value >= 1
  • key2: Any integer value >= 2
  • char_str: The characters that should be used to encode the string; Any string
  • hash_start: A String that will be put in front of the hash to identify the hash (optional); Default: ""
  • hash_length: The length of the the hash (optional); Default: 128 / Any integer value >= 1

Syntax: hash(string, key1, key2, char_str, hash_start, hash_length)