Table of Contents

Enum HashType

Namespace
Tharga.Toolkit
Assembly
Tharga.Toolkit.dll

Specifies the type of hash algorithm to use.

public enum HashType
Extension Methods

Fields

MD5 = 0

MD5 hash (128-bit). Fast but cryptographically broken. Suitable for checksums and non-security scenarios.

SHA1 = 1

SHA-1 hash (160-bit). Deprecated and insecure for cryptographic use. Kept only for legacy system compatibility.

SHA256 = 2

SHA-256 hash (256-bit). Part of the SHA-2 family. Secure and widely used for modern applications.

SHA384 = 3

SHA-384 hash (384-bit). Part of the SHA-2 family. More secure than SHA-256 but less commonly used.

SHA512 = 4

SHA-512 hash (512-bit). Part of the SHA-2 family. Strong and secure for long-term integrity protection.