Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Calculate the md5 hash of a string
<?php md5(string $string, bool $binary = false): string
<?php     {

        $content = explode(' ', $publicKey, 3);



        return implode(':', str_split(md5(base64_decode($content[1])), 2));

    }



    private function authenticate(SFTP $connection): void
<?php     {

        $content = explode(' ', $publicKey, 3);



        return implode(':', str_split(md5(base64_decode($content[1])), 2));

    }

}