From 5715f3f01b7d4f4af6b0a8d80a66391442150683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 15 Jun 2023 13:37:42 +0200 Subject: [PATCH] add @since doc --- htdocs/core/lib/security.lib.php | 2 ++ 1 file changed, 2 insertions(+) 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 = '')