crypto.sha1 The SHA-1 digest of a byte string (FIPS 180-4), for HMAC-SHA1 in HOTP/TOTP codes; not for new signatures. sha1 in Python sha1sha-1hashdigest 1.0.0py rs ts14 testsApache-2.0