ash-20 hash function
The ASH-20 hash function is a cryptographic safe hash function developed by Joshua Dean Pond in 2023.
about the ash-20 hash function
The ASH-20 hash function uses complex mathematical operators to create a safe and non-traceable hash function. This makes it suitable for cryptographic applications where the integrity of data must be ensured.
installation
bash: pip install avalanchesumhash20
documentation
A detailed documentation of the ASH-20 hash function is included in the script. You can find them and more details in the Script-Dokumentation.
example script
from avalanchesumhash20 import AvalancheSumHash20
def main():
input_text = input("Text: ")
output_length = 79357612835769157957719395357591595
iterations = 420
modulo_value = 93537791153957593571955971579179595
hash_generator = AvalancheSumHash20(input_text, output_length, iterations, modulo_value)
result = hash_generator.main()
print("Eingabe-Text:", input_text)
print("Verschlüsselter Wert:", result)
if __name__ == "__main__":
main()
example output
C:\Users\Joshua\OneDrive\Desktop>ASH-20
Text: Hello World
Eingabe-Text: Hello World
Verschlüsselter Wert: 72730973721879097623944926376665313
C:\Users\Joshua\OneDrive\Desktop>
This is an example of how you can encrypt a text
Mathematical Operators
The ASH-20 hash function uses complex mathematical operators to create a safe and non-traceable hash function. This makes it suitable for cryptographic applications where the integrity of data must be ensured. All mathematical aspects are explained here: mathematical aspects.
The ASH-20 hash function uses various mathematical operators to ensure safety and Einweg-Natur hash function:
Avalanche (cos function):
Using the derivative function cos creates a Avalanche-Effekt in which small changes in the input text lead to drastically different hash values. The function: f(H) = aH² + bH + c. The "H" in the function represents the hash.
XOR Operation (⊕):
The XOR operation is used to combine bits in the hash value and ensure that small changes in the input text lead to unpredictable changes in the hash. See XOR combination
OR (|):
The OR operation is used to set certain bits in the hash value to increase complexity and security.
AND (&):
The AND operation is used to delete certain bits in the hash value and to influence the distribution of bits.
functions of higher grades and square functions:
In addition to the basic operations, functions of higher degrees and square functions are also used to make the hash a one-way hash. This increases the complexity and makes it difficult to trace the hash value. See examples: Math. Operators (unit function)
bit shift (shift) to 7:
By shifting the bits in the hash value by 7 positions, the distribution of bits is further changed and the safety is increased.
modulo with outputlength:
The application of the Modulo-Operators with the Output-Length ensures that the hash value remains within the desired length.
fragmentation and chaining of the hashes:
The hash value is divided and repositioned to increase the Einweg-Natur of the hash function.
license
This project is licensed under the MIT license - see the LICENSE-Datei for details.
contact
Joshua Dean Pond Email: joshua.pond11@gmail.com
Metadata
Release files for avalanchesumhash20 1.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| avalanchesumhash20-1.6.3.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| avalanchesumhash20-1.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / avalanchesumhash20-1.6.3.tar.gz
| Download URL | avalanchesumhash20-1.6.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9958a227b72b14e351a70b1db46aa3c8a5abca218112cfdba930cf38d8e754f8
|
|
BLAKE2b-256 checksum How to use checksums |
296cfed5c32ffed6f20c380868fe27cae2010f235fcf4a6b6c9e9fbf43c83ecb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / avalanchesumhash20-1.6.3-py3-none-any.whl
| Download URL | avalanchesumhash20-1.6.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33dbcf073f92aaf7b21dcecae69c7d442742cc399c072d9fb80dfec91d3fac91
|
|
BLAKE2b-256 checksum How to use checksums |
3f73292ee732dc365ac6de20ad5a612b5176f45043c4c20984a4d1294afcc151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for avalanchesumhash20 1.6.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.