There are two functions for MD5: md5 & md5file I will be using md5.

PHP Code:
<?php
$text 
"abcdefg"
$hash md5($text);
?>