crypto.sha256 The SHA-256 digest of a byte string (FIPS 180-4), in pure code that also runs in the browser. sha256 in Rust sha256sha-256sha2hash 1.0.0py rs ts13 testsApache-2.0
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 Rust sha1sha-1hashdigest 1.0.0py rs ts14 testsApache-2.0