'use strict';
var SHA1Stream = require('./helpers/SHA1Stream')


/**
 * Export the raw class
 * @type {SHA1Stream|exports}
 */
exports.SHA1Stream = SHA1Stream


/**
 * Shorthand constructor
 * @return {SHA1Stream}
 */
exports.createStream = function(){
  return new SHA1Stream()
}

'use strict';
var SHAStream = require('./helpers/SHAStream')


/**
 * Export the raw class
 * @type {SHA1Stream|exports}
 */
exports.SHAStream = SHAStream


/**
 * Shorthand constructor
 * @param {string} hashType type of hash to create defaults to sha1
 * @return {SHA1Stream}
 */
exports.createStream = function(hashType){
  return new SHAStream(hashType)
}

Change to SHAStream and add type support
Change to SHAStream and add type support