mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 12:44:38 +01:00
Explain the kraken
This commit is contained in:
parent
016b252bbb
commit
19f706003e
@ -2735,6 +2735,9 @@ abstract class SymmetricKey
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Before discrediting this, please read the following:
|
||||||
|
// @see https://github.com/phpseclib/phpseclib/issues/1293
|
||||||
|
// @see https://github.com/phpseclib/phpseclib/pull/1143
|
||||||
eval('$func = function ($_action, $_text) { ' . $init_crypt . 'if ($_action == "encrypt") { ' . $encrypt . ' } else { ' . $decrypt . ' }};');
|
eval('$func = function ($_action, $_text) { ' . $init_crypt . 'if ($_action == "encrypt") { ' . $encrypt . ' } else { ' . $decrypt . ' }};');
|
||||||
|
|
||||||
return \Closure::bind($func, $this, static::class);
|
return \Closure::bind($func, $this, static::class);
|
||||||
|
Loading…
Reference in New Issue
Block a user