zot: specify crypto method

This commit is contained in:
zotlabs
2016-11-20 21:18:38 -08:00
parent dda2ea8fed
commit f926915e56
4 changed files with 12 additions and 7 deletions

View File

@@ -315,7 +315,7 @@ 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'),CRYPTO_ALGORITHM));
}
function z_unobscure($s) {