Explain the kraken

This commit is contained in:
Filippo Tessarotto 2018-10-09 08:35:56 +02:00 committed by GitHub
parent 016b252bbb
commit 19f706003e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);