diff options
author | git-marijus <mario@mariovavti.com> | 2017-07-27 11:17:08 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-07-27 11:17:08 +0200 |
commit | 9be4c4d6d1aa7894da44aae8c35f6c96c9475591 (patch) | |
tree | 03f5ffd3d5c8b7c07a8b1084178cb9dafabb2fd1 /include/crypto.php | |
parent | e71cdf02a8303689c933b98185e2671f49fc5a7d (diff) | |
parent | dbbae4bac81d18f814c18ac8d0ea51667e00703f (diff) | |
download | volse-hubzilla-9be4c4d6d1aa7894da44aae8c35f6c96c9475591.tar.gz volse-hubzilla-9be4c4d6d1aa7894da44aae8c35f6c96c9475591.tar.bz2 volse-hubzilla-9be4c4d6d1aa7894da44aae8c35f6c96c9475591.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/crypto.php')
-rw-r--r-- | include/crypto.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/crypto.php b/include/crypto.php index 2c5545e9b..6ac3fd732 100644 --- a/include/crypto.php +++ b/include/crypto.php @@ -185,6 +185,16 @@ function crypto_methods() { } +function signing_methods() { + + + $r = [ 'sha256' ]; + call_hooks('signing_methods',$r); + return $r; + +} + + function aes_encapsulate($data,$pubkey) { if(! $pubkey) logger('aes_encapsulate: no key. data: ' . $data); |