docs: function _frontend(hashtype, defaultOutputType){
      return function(outputType){
          // generate random input
          var input = _crypto.randomBytes(514);
  
          // calculate the hash
          return _hash.hash(input, hashtype, outputType || defaultOutputType);
      }
  }