Hash calculator (SHA-1 / SHA-256)
SHA-1 and SHA-256 of hex data.
- Runs in your browser
- No sign-up
Input
Result
Certificate hash not matching the static data? IDNTEQ can find the cause. CPV / PVT preparation and remediation
About this tool
Runs in your browser. This page loads no analytics or third-party scripts and does not send what you type.
Paste hex data and get its SHA-1 and SHA-256 hashes, for checking a certificate hash input, a CA key checksum or a file digest.
Input and hashing
The hex is converted to bytes and hashed with the browser’s Web Crypto API (crypto.subtle.digest). Spaces and line breaks are ignored; an odd number of digits or a non-hex character is reported without repair. EMV uses SHA-1 for certificate hashes and for the CA key checksum, which is SHA-1 over RID, index, modulus and exponent. The FIPS 180-2 examples can be loaded to compare the output with the published digests.
Spec references
- FIPS 180-4 (SHA-1, SHA-256)
- EMV 4.4 Book 2 Annex B3 (hash algorithm)
Verified against
- Specifications
- FIPS 180-4 (SHA-1, SHA-256)
- Published examples in the tests
- Other checks in the tests
- The empty input hashes to the digest of no bytes; bad hex is an error
- Inputs
- Hex data; spaces and line breaks are ignored.
- Not covered
- No SHA-384/512, MD5 or HMAC.
- Last reviewed