mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 01:15:15 +00:00
updates
This commit is contained in:
parent
ad020db7d8
commit
bd8a6d6195
3 changed files with 4 additions and 3 deletions
|
@ -332,6 +332,7 @@ class Apps {
|
|||
'Features' => t('Features'),
|
||||
'Language' => t('Language'),
|
||||
'Post' => t('Post'),
|
||||
'ZotPost' => t('ZotPost'),
|
||||
'Profile Photo' => t('Profile Photo')
|
||||
);
|
||||
|
||||
|
|
BIN
images/zot-300.png
Normal file
BIN
images/zot-300.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -453,12 +453,12 @@ function convert_salmon_key($key) {
|
|||
|
||||
|
||||
function z_obscure($s) {
|
||||
return json_encode(crypto_encapsulate($s,get_config('system','pubkey')));
|
||||
$algs = crypto_methods();
|
||||
return json_encode(crypto_encapsulate($s,get_config('system','pubkey'),
|
||||
(($algs) ? $algs[0] : '')));
|
||||
}
|
||||
|
||||
function z_unobscure($s) {
|
||||
// if(strpos($s,"{\"") !== 0)
|
||||
// return $s;
|
||||
return crypto_unencapsulate(json_decode($s,true),get_config('system','prvkey'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue