The crypt_gensalt function (from the xpass extension) makes usage of this function much easier, ex:
<?php
$salt = crypt_gensalt(CRYPT_PREFIX_BLOWFISH, 10);
$hash = crypt($secret, $salt);
The crypt_gensalt function (from the xpass extension) makes usage of this function much easier, ex:
<?php
$salt = crypt_gensalt(CRYPT_PREFIX_BLOWFISH, 10);
$hash = crypt($secret, $salt);