PHP - MD5
Trieda
Metóda - MD5
The md5() function is used for calculating the md5 hash of a
string.
Warning: It's not recommended to use this function to hash
passwords since it's easy to crack. For this purpose use the
password_hash() function.
Procedurálne
- function MD5 () : void
Parametre
ŽiadneMávratovej hodnoty
Returns the hashed string as a 32-character long hexadecimal number.
Príklady
<?php
echo md5('test'); // hexadecimal format: 098f6bcd4621d373cade4e832627b4f6
echo '<br>';
echo md5('test', true); // raw binary format
