Skip to content

Commit

Permalink
added deprecation note for 5.0 signature change
Browse files Browse the repository at this point in the history
  • Loading branch information
SniperSister committed May 31, 2022
1 parent 31b3b89 commit 4dd448b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/src/Encrypt/Aes.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class Aes
* @param int $strength Bit strength (128, 192 or 256) – ALWAYS USE 128 BITS. THIS PARAMETER IS DEPRECATED.
* @param string $mode Encryption mode. Can be ebc or cbc. We recommend using cbc.
* @param string $priority Priority which adapter we should try first
*
* @deprecated 5.0 $strength will be removed
*/
public function __construct($key, $strength = 128, $mode = 'cbc', $priority = 'openssl')
{
Expand Down

0 comments on commit 4dd448b

Please sign in to comment.