Function isDefinedHashType

  • Checks if the provided hash type is defined.

    A hash type is considered defined if its modified value (after masking with ~0x80) is greater than 0x00 and less than 0x04.

    Parameters

    • hashType: number

      The hash type to check.

    Returns boolean

    True if the hash type is defined, false otherwise.