code: function (str, algorithm, encoding) {
          try {
              return crypto
                  .createHash(algorithm || 'md5')
                  .update(str, 'utf8')
                  .digest(encoding || 'hex')
          } catch (err) {
              return err
          }
      }
docs: Checksum
  e.g: checksum(data, 'sha1')
  
  @param {string} str - Data to analyse
  @param {string} algorithm
  @param {string} [ encoding ] - e.g.: hex
  
  @return {string} checksum