You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
348 B

4 years ago
  1. require('./create-hash')
  2. require('./create-hmac')
  3. if (!process.browser) {
  4. require('./dh')
  5. }
  6. require('./pbkdf2')
  7. try {
  8. require('randombytes')(8)
  9. require('./ecdh')
  10. require('./public-encrypt')
  11. require('./random-bytes')
  12. require('./sign')
  13. require('./random-fill')
  14. } catch (e) {
  15. console.log('no secure rng avaiable')
  16. }
  17. require('./aes')