forked from akhawaja/ecc-crypto-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
29 lines (27 loc) · 973 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
This is a helper library to assist with performing cryptographic operations.
All functions, except for those under the base64 key, will return a Buffer
object. You can choose to convert the Buffer to another encoding as needed
*/
let lib = {}
lib.common = require('./common')
lib.base62 = require('./base62')
lib.base64 = require('./base64')
lib.hmac = require('./hmac')
lib.hash = require('./hash')
lib.hkdf = require('./hkdf')
lib.ksuid = require('./ksuid')
lib.ecc256 = require('./ecc256')
lib.ecc384 = require('./ecc384')
lib.ecc521 = require('./ecc521')
lib.aesCbc128 = require('./aescbc128')
lib.aesCbc192 = require('./aescbc192')
lib.aesCbc256 = require('./aescbc256')
lib.aesGcm128 = require('./aesgcm128')
lib.aesGcm192 = require('./aesgcm192')
lib.aesGcm256 = require('./aesgcm256')
lib.password = require('./password')
lib.jwt = require('./jwt')
lib.rsa = require('./rsa')
lib.sharedSecretGenerator = require('./sharedSecretGenerator')
module.exports = lib