Last active
December 15, 2015 01:49
-
-
Save brechtdewinne/5183049 to your computer and use it in GitHub Desktop.
PHP - Convert SSH key to fingerprint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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