mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
debug
This commit is contained in:
parent
f94f6642ea
commit
d0452e5d3b
1 changed files with 4 additions and 0 deletions
|
|
@ -609,9 +609,13 @@ Database::addFilter(
|
|||
$key = System::getEnv('_APP_OPENSSL_KEY_V' . $value['version']);
|
||||
|
||||
var_dump([
|
||||
'region' => System::getEnv('_APP_REGION', 'default'),
|
||||
'key' => $key,
|
||||
'value' => $value,
|
||||
'method' => $value['method'],
|
||||
'data' => $value['data'],
|
||||
'iv' => hex2bin($value['iv']),
|
||||
'tag' => hex2bin($value['tag'])
|
||||
]);
|
||||
return OpenSSL::decrypt($value['data'], $value['method'], $key, 0, hex2bin($value['iv']), hex2bin($value['tag']));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue