SSH Key Fingerprint Calculator & Randomart Visualizer

Sample Keys:

Computed Cryptographic Fingerprints

SHA-256 Fingerprint (Base64)
Calculating SHA-256...
MD5 Fingerprint (Hex)
Calculating MD5...
Key Algorithmssh-ed25519
Bit Length256 bits

OpenSSH ASCII Randomart Matrix

// Randomart visual will appear here...

100% In-Browser Cryptography

OpenSSH public key byte parsing and SHA-256 / MD5 digest calculations occur exclusively inside browser memory. Zero key telemetry.

Authentic Drunken Bishop Matrix

Faithfully implements the OpenSSH 9x17 spatial random walk algorithm for instant visual key recognition and host authentication.

Multi-Algorithm Recognition

Inspects Ed25519 (256-bit), RSA (2048/4096-bit), and ECDSA (NIST P-256/P-384/P-521) OpenSSH wire format public keys.

Technical Reference & Architecture Guide

SSH Key Fingerprint & Randomart Visualizer Guide — Reference Guide

Cryptographic specification for parsing OpenSSH public keys (RSA, Ed25519, ECDSA), computing SHA-256 / MD5 fingerprints, and generating authentic OpenSSH ASCII Randomart diagrams.

Key Parameters & Controls

keyTypeenum ('ssh-rsa' | 'ssh-ed25519' | 'ecdsa-sha2-*')

Asymmetric algorithm family of the public key.

fingerprintFormatenum ('sha256' | 'md5')

Hash representation: Base64 SHA-256 (modern) or colon-separated Hex MD5 (legacy).

bitLengthnumber

Modulus bit length (e.g. 4096 for RSA, 256 for Ed25519).

Pro Tips & Best Practices

OpenSSH displays ASCII Randomart diagrams to allow humans to rapidly verify host key fingerprints using spatial visual pattern recognition.

Modern SSH clients (OpenSSH 6.8+) default to SHA-256 Base64 fingerprints, having deprecated legacy MD5 hex fingerprints.

Ed25519 keys offer superior security and compact 256-bit key lengths compared to legacy 2048-bit RSA keys.

Common Gotchas & Troubleshooting

Ensure your key is the single-line public key file (ending with .pub) and not the multi-line private key.

Ensure any trailing comments or email identifiers are not included in the raw cryptographic byte hash.

Frequently Asked Questions

What is the purpose of the OpenSSH ASCII Randomart matrix?▼

It implements the 'drunken bishop' random walk algorithm on a 9x17 grid, translating hash bytes into easily memorable visual patterns.

Is it safe to paste my public key into this tool?▼

Yes. Public keys are designed to be shared openly, and all parsing and fingerprint hashing run 100% locally in your browser memory.

Does this tool work with id_rsa, id_ed25519, and id_ecdsa keys?▼

Yes. It supports all standard OpenSSH public key types with automatic bit-length detection.

How does the tool compute the SHA-256 fingerprint?▼

It decodes the Base64 payload, computes a raw binary SHA-256 hash using the Web Crypto API, and encodes the digest back to Base64 without '=' padding.

Related Tools & Utilities

All Tools →