diff options
Diffstat (limited to 'server/helpers/peertube-crypto.js')
-rw-r--r-- | server/helpers/peertube-crypto.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/helpers/peertube-crypto.js b/server/helpers/peertube-crypto.js index 4783e9965..1ff638b04 100644 --- a/server/helpers/peertube-crypto.js +++ b/server/helpers/peertube-crypto.js | |||
@@ -12,13 +12,13 @@ const logger = require('./logger') | |||
12 | const algorithm = 'aes-256-ctr' | 12 | const algorithm = 'aes-256-ctr' |
13 | 13 | ||
14 | const peertubeCrypto = { | 14 | const peertubeCrypto = { |
15 | checkSignature: checkSignature, | 15 | checkSignature, |
16 | comparePassword: comparePassword, | 16 | comparePassword, |
17 | createCertsIfNotExist: createCertsIfNotExist, | 17 | createCertsIfNotExist, |
18 | cryptPassword: cryptPassword, | 18 | cryptPassword, |
19 | decrypt: decrypt, | 19 | decrypt, |
20 | encrypt: encrypt, | 20 | encrypt, |
21 | sign: sign | 21 | sign |
22 | } | 22 | } |
23 | 23 | ||
24 | function checkSignature (publicKey, rawData, hexSignature) { | 24 | function checkSignature (publicKey, rawData, hexSignature) { |