Public Key SHA-256 Fingerprint
Hash DER bytes from a PUBLIC KEY PEM block with SHA-256.
Your workspace
Processed in your browserThis tool computes the SHA-256 hash of the DER-encoded bytes extracted from a standard PEM-formatted public key. It provides a concise, fixed-length identifier for your key material.
How to generate a fingerprint
- Paste your full public key block, including the BEGIN and END headers, into the input field.
- Review the resulting hexadecimal string, which represents the unique fingerprint of the provided key.
Understanding the fingerprint
The tool strips PEM armor, such as headers and line breaks, and processes the raw DER bytes using the SHA-256 algorithm. This fingerprint is useful for verifying key identity or comparing two keys without exposing the full key content. Note that this is a standard SHA-256 hash of the DER-encoded SPKI structure, not an OpenSSH-style fingerprint or a certificate validation check.
Verifying a key
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE... -----END PUBLIC KEY-----
a3f1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1
Questions about this operation
Does this tool validate the public key structure?
No, it only extracts the DER bytes from a correctly formatted PEM block and hashes them. It does not verify that the key is mathematically valid or secure.
Can I use this to verify an OpenSSH key?
No, OpenSSH fingerprints use different hashing and encoding standards. This tool is strictly for standard SPKI public keys.
Continue your workflow
Explore more tools in this category for your next step.
Certificate and Private Key Matcher
Sign a local random challenge with an unencrypted PKCS#8 private key and verify it using the certificate public key.
ECDSA P-256 Key Generator
Generate an ECDSA P-256 signing key pair in the browser.
Ed25519 Key Generator
Generate an Ed25519 key pair using Web Crypto.
Base64 to PEM
Wrap Base64 DER text in selected PEM armor with 64-character lines.