add some fixes

This commit is contained in:
Torsten Dittmann
2022-09-09 11:38:54 +02:00
parent b19b9d450f
commit a059ec11e7
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ Database::addFilter(
}
$value = json_decode($value, true);
$key = App::getEnv('_APP_OPENSSL_KEY_V' . $value['version']);
var_dump(OpenSSL::decrypt($value['data'], $value['method'], $key, 0, hex2bin($value['iv']), hex2bin($value['tag'])));
return OpenSSL::decrypt($value['data'], $value['method'], $key, 0, hex2bin($value['iv']), hex2bin($value['tag']));
}
);