diff --git a/htdocs/core/lib/security.lib.php b/htdocs/core/lib/security.lib.php index 31a5dd5692e..0cfc8029a76 100644 --- a/htdocs/core/lib/security.lib.php +++ b/htdocs/core/lib/security.lib.php @@ -116,6 +116,7 @@ function dolGetRandomBytes($length) * @param string $ciphering Default ciphering algorithm * @param string $forceseed To force the seed * @return string encoded string + * @since v17 * @see dolDecrypt(), dol_hash() */ function dolEncrypt($chain, $key = '', $ciphering = 'AES-256-CTR', $forceseed = '') @@ -170,6 +171,7 @@ function dolEncrypt($chain, $key = '', $ciphering = 'AES-256-CTR', $forceseed = * @param string $chain string to encode * @param string $key If '', we use $conf->file->instance_unique_id * @return string encoded string + * @since v17 * @see dolEncrypt(), dol_hash() */ function dolDecrypt($chain, $key = '')