Merge pull request #25109 from frederic34/patch-6

add @since doc
This commit is contained in:
Laurent Destailleur 2023-06-16 00:26:01 +02:00 committed by GitHub
commit 3f2bd21add
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = '')