SPKI pin generator
Computes the SHA-256 hash of a certificate's Subject Public Key Info, Base64-encoded — the format used for HTTP Public Key Pinning and certificate pinning in mobile apps. Accepts a certificate, CSR, or a bare public key.
What is SPKI pin generator?
Certificate pinning hard-codes the expected public key of a server into a client (typically a mobile app), so even a fraudulently-issued certificate from a trusted CA won't be accepted — the SPKI hash is the value that gets pinned.
How to use it
Paste a certificate, CSR, or bare public key to compute its SHA-256 SubjectPublicKeyInfo hash, Base64-encoded — the exact format used for HPKP headers and mobile app certificate pinning.
Example
A certificate's public key hashes to: yU/1QFm9HgVhxYF5WbSyAmslhCzZoJ4M0iURARui8j8=