Skip to content

Instantly share code, notes, and snippets.

@brechtdewinne
Last active December 15, 2015 01:49
Show Gist options
  • Save brechtdewinne/5183049 to your computer and use it in GitHub Desktop.
Save brechtdewinne/5183049 to your computer and use it in GitHub Desktop.
PHP - Convert SSH key to fingerprint
$unformattedFingerprint = md5(base64_decode('YOUR KEY HERE'));
$fingerprint = wordwrap($unformattedFingerprint, 2, ':', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment