• Computes the hash (checksum) of a file

    Parameters

    • fname: string

      Name of the file

    • hash_type: string

      Type of hash to compute

    Returns string