Code comment
This commit is contained in:
parent
e45d35dcb1
commit
9cdb7f0f27
@ -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')
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user