code: function getInfo(hash) {
    const info = getHashInfo(hash);
    const algo = getAlgorithmFromId(info.id);
    info.algorithm = algo.name;
    info.options = algo.getOptions(hash, info);
  
    return info;
  }
docs: Returns information about a hash.
  
  @param {string} hash The hash you want to get information from.
  
  @return {object} Object containing information about the given
  hash: “algorithm”: the algorithm used, “options” the options
  used.