MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / sha1.py

File sha1.py

hashes/sha1.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Implementation of the SHA1 hash function and gives utilities to find hash of string or
3hash of text from a file. Also contains a Test class to verify that the generated hash
4matches what is returned by the hashlib library

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected