Skip to content
Permalink
Browse files

Deprecate Security::rijndael().

This should have been done earlier when `Crypt\Mycrypt` itself was deprecated.
  • Loading branch information...
ADmad committed May 4, 2018
1 parent d9e8330 commit d2f7f1d3104adf61bb5a76128691fdca5a1e5078
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/Utility/Security.php
@@ -208,7 +208,12 @@ public static function engine($instance = null)
* @param string $key Key to use as the encryption key for encrypted data.
* @param string $operation Operation to perform, encrypt or decrypt
* @throws \InvalidArgumentException When there are errors.
* @return string Encrypted/Decrypted string
* @return string Encrypted/Decrypted string.
* @deprecated 3.6.3 This method relies on functions provided by mcrypt
* extension which has been deprecated in PHP 7.1 and removed in PHP 7.2.
* There's no 1:1 replacement for this method.
* Upgrade your code to use Security::encrypt()/Security::decrypt() with
* OpenSsl engine instead.
*/
public static function rijndael($text, $key, $operation)
{

0 comments on commit d2f7f1d

Please sign in to comment.
You can’t perform that action at this time.