Sha256: bfd0555063040de547a98928811c656879b5fa3c4a4f91e948eeb8f4b54830a1

Contents?: true

Size: 468 Bytes

Versions: 43

Compression:

Stored size: 468 Bytes

Contents

var exports = module.exports = function SHA (algorithm) {
  algorithm = algorithm.toLowerCase()

  var Algorithm = exports[algorithm]
  if (!Algorithm) throw new Error(algorithm + ' is not supported (we accept pull requests)')

  return new Algorithm()
}

exports.sha = require('./sha')
exports.sha1 = require('./sha1')
exports.sha224 = require('./sha224')
exports.sha256 = require('./sha256')
exports.sha384 = require('./sha384')
exports.sha512 = require('./sha512')

Version data entries

43 entries across 42 versions & 15 rubygems

Version Path
brwy_rails-0.0.3 test/dummy/node_modules/sha.js/index.js
brwy_rails-0.0.2 test/dummy/node_modules/sha.js/index.js
brwy_rails-0.0.1 test/dummy/node_modules/sha.js/index.js