UI for Zipcoin Blue

index.js 468B

12345678910111213141516
  1. var exports = module.exports = function SHA (algorithm) {
  2. algorithm = algorithm.toLowerCase()
  3. var Algorithm = exports[algorithm]
  4. if (!Algorithm) throw new Error(algorithm + ' is not supported (we accept pull requests)')
  5. return new Algorithm()
  6. }
  7. exports.sha = require('./sha')
  8. exports.sha1 = require('./sha1')
  9. exports.sha224 = require('./sha224')
  10. exports.sha256 = require('./sha256')
  11. exports.sha384 = require('./sha384')
  12. exports.sha512 = require('./sha512')