SHA1 and SHA2 functions implemented in Python 3