Newer
Older
alert / js / node_modules / crypto-browserify / test / index.js
@Réz István Réz István on 18 Nov 2021 348 bytes first commit

require('./create-hash')
require('./create-hmac')
if (!process.browser) {
  require('./dh')
}

require('./pbkdf2')
try {
  require('randombytes')(8)
  require('./ecdh')
  require('./public-encrypt')
  require('./random-bytes')
  require('./sign')
  require('./random-fill')
} catch (e) {
  console.log('no secure rng avaiable')
}
require('./aes')