Public Key SHA-256 Fingerprint

Hash DER bytes from a PUBLIC KEY PEM block with SHA-256.

Your workspace

Processed in your browser

Enter your values or try the example.

This 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

  1. Paste your full public key block, including the BEGIN and END headers, into the input field.
  2. 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.