diff options
author | Mario <mario@mariovavti.com> | 2021-02-10 19:27:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-10 19:27:00 +0000 |
commit | 391db616297fab5db1531d31e36884af245ae9ac (patch) | |
tree | d79083481bf25659744be6822a953cc693694ec3 /include/crypto.php | |
parent | e6450acc0355c9a8384882e08ccb9aafabe7030d (diff) | |
download | volse-hubzilla-391db616297fab5db1531d31e36884af245ae9ac.tar.gz volse-hubzilla-391db616297fab5db1531d31e36884af245ae9ac.tar.bz2 volse-hubzilla-391db616297fab5db1531d31e36884af245ae9ac.zip |
revert z_(un)obscure() until (un)obscurify() will be implemented and a update will take care of the data in db
Diffstat (limited to 'include/crypto.php')
-rw-r--r-- | include/crypto.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto.php b/include/crypto.php index d91d3749c..b09356fc7 100644 --- a/include/crypto.php +++ b/include/crypto.php @@ -462,12 +462,12 @@ function convert_salmon_key($key) { function z_obscure($s) { - return json_encode(Crypto::encapsulate($s,get_config('system','pubkey'))); + return json_encode(crypto_encapsulate($s,get_config('system','pubkey'))); } function z_unobscure($s) { if(strpos($s,"{\"") !== 0) return $s; - return Crypto::unencapsulate(json_decode($s,true),get_config('system','prvkey')); + return crypto_unencapsulate(json_decode($s,true),get_config('system','prvkey')); } |