mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01:00
Explain the kraken
This commit is contained in:
parent
016b252bbb
commit
19f706003e
@ -2735,6 +2735,9 @@ abstract class SymmetricKey
|
||||
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 . ' }};');
|
||||
|
||||
return \Closure::bind($func, $this, static::class);
|
||||
|
Loading…
Reference in New Issue
Block a user