src/SftpAdapter.php
private function getHexFingerprintFromSshPublicKey ($publickey)
    {
        $content = explode(' ', $publickey, 3);
        return implode(':', str_split(md5(base64_decode($content[1])), 2));
    }
private function getHexFingerprintFromSshPublicKey ($publickey)
    {
        $content = explode(' ', $publickey, 3);
        return implode(':', str_split(md5(base64_decode($content[1])), 2));
    }
private function getHexFingerprintFromSshPublicKey ( $ publickey ) { $ content = explode ( ' ' , $ publickey , 3 ) ; return implode ( ':' , str_split ( md5 ( base64_decode ( $ content [ 1 ] ) ) , 2 ) ) ; }
Convert the SSH RSA public key into a hex formatted fingerprint.

@param string $publickey
@return string Hex formatted fingerprint, e.g. '88:76:75:96:c1:26:7c:dd:9f:87:50:db:ac:c4:a8:7c'.
Convert the SSH RSA public key into a hex formatted fingerprint .