Skip to content

Instantly share code, notes, and snippets.

@brechtdewinne
brechtdewinne / gist:5183049
Last active December 15, 2015 01:49
PHP - Convert SSH key to fingerprint
$unformattedFingerprint = md5(base64_decode('YOUR KEY HERE'));
$fingerprint = wordwrap($unformattedFingerprint, 2, ':', true);