KeyFingerprint

SSH key fingerprint utilities.

Produces OpenSSH-compatible fingerprints in SHA-256, MD5, Bubble-Babble, and ASCII randomart formats.

Functions

Link copied to clipboard
fun bubblebabble(publicKeyBlob: ByteArray): String

Bubble-Babble fingerprint (phonetic encoding of SHA-1 hash).

Link copied to clipboard
fun md5(publicKeyBlob: ByteArray): String

MD5 fingerprint in hex-colon format.

Link copied to clipboard
fun randomArt(publicKeyBlob: ByteArray, keyType: String, keySize: Int): String

ASCII randomart visualization (SHA-256 based, OpenSSH compatible).

Link copied to clipboard
fun sha256(publicKeyBlob: ByteArray): String

SHA-256 fingerprint in Base64 format (OpenSSH default).