aswi2020vldc-gitlab/templetes/node_modules/crypto-browserify/test/index.js @ 9b6ff40e
1 |
|
---|---|
2 |
require('./create-hash') |
3 |
require('./create-hmac') |
4 |
if (!process.browser) { |
5 |
require('./dh') |
6 |
}
|
7 |
|
8 |
require('./pbkdf2') |
9 |
try { |
10 |
require('randombytes')(8) |
11 |
require('./ecdh') |
12 |
require('./public-encrypt') |
13 |
require('./random-bytes') |
14 |
require('./sign') |
15 |
require('./random-fill') |
16 |
} catch (e) { |
17 |
console.log('no secure rng avaiable') |
18 |
}
|
19 |
require('./aes') |