diff options
-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')); } |