aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/peertube-crypto.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/peertube-crypto.js')
-rw-r--r--server/helpers/peertube-crypto.js14
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')
12const algorithm = 'aes-256-ctr' 12const algorithm = 'aes-256-ctr'
13 13
14const peertubeCrypto = { 14const 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
24function checkSignature (publicKey, rawData, hexSignature) { 24function checkSignature (publicKey, rawData, hexSignature) {