mini-effect
    Preparing search index...

    Function hash

    • Creates a hash validation action.

      Type Parameters

      • TInput$1 extends string

      Parameters

      • types: [
            | "md4"
            | "md5"
            | "sha1"
            | "sha256"
            | "sha384"
            | "sha512"
            | "ripemd128"
            | "ripemd160"
            | "tiger128"
            | "tiger160"
            | "tiger192"
            | "crc32"
            | "crc32b"
            | "adler32",
            ...(
                | "md4"
                | "md5"
                | "sha1"
                | "sha256"
                | "sha384"
                | "sha512"
                | "ripemd128"
                | "ripemd160"
                | "tiger128"
                | "tiger160"
                | "tiger192"
                | "crc32"
                | "crc32b"
                | "adler32"
            )[],
        ]

        The hash types.

      Returns HashAction<TInput$1, undefined>

      A hash action.

    • Creates a hash validation action.

      Type Parameters

      Parameters

      • types: [
            | "md4"
            | "md5"
            | "sha1"
            | "sha256"
            | "sha384"
            | "sha512"
            | "ripemd128"
            | "ripemd160"
            | "tiger128"
            | "tiger160"
            | "tiger192"
            | "crc32"
            | "crc32b"
            | "adler32",
            ...(
                | "md4"
                | "md5"
                | "sha1"
                | "sha256"
                | "sha384"
                | "sha512"
                | "ripemd128"
                | "ripemd160"
                | "tiger128"
                | "tiger160"
                | "tiger192"
                | "crc32"
                | "crc32b"
                | "adler32"
            )[],
        ]

        The hash types.

      • message: TMessage

        The error message.

      Returns HashAction<TInput$1, TMessage>

      A hash action.