DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Hash Passwords With Salts
// Hash passwords with salts
// atmoner.com
<?php
// Déclaration des constantes
define('PREFIX_SALT', 'bonjour');
define('SUFFIX_SALT', 'aurevoire');
$hashSecure = md5(PREFIX_SALT.'m0tDePasse'.SUFFIX_SALT);
?>





