Code comment

This commit is contained in:
Laurent Destailleur 2018-01-24 14:37:26 +01:00
parent e45d35dcb1
commit 9cdb7f0f27
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ function dol_decode($chain)
* @param string $chain String to hash
* @param string $type Type of hash ('0':auto, '1':sha1, '2':sha1+md5, '3':md5, '4':md5 for OpenLdap, '5':sha256). Use '3' here, if hash is not needed for security purpose, for security need, prefer '0'.
* @return string Hash of string
* @getRandomPassword
*/
function dol_hash($chain, $type='0')
{

View File

@ -445,6 +445,7 @@ function encodedecode_dbpassconf($level=0)
*
* @param boolean $generic true=Create generic password (32 chars/numbers), false=Use the configured password generation module
* @return string New value for password
* @see dol_hash
*/
function getRandomPassword($generic=false)
{