Enum HashType
Specifies the type of hash algorithm to use.
public enum HashType
- Extension Methods
Fields
MD5 = 0MD5 hash (128-bit). Fast but cryptographically broken. Suitable for checksums and non-security scenarios.
SHA1 = 1SHA-1 hash (160-bit). Deprecated and insecure for cryptographic use. Kept only for legacy system compatibility.
SHA256 = 2SHA-256 hash (256-bit). Part of the SHA-2 family. Secure and widely used for modern applications.
SHA384 = 3SHA-384 hash (384-bit). Part of the SHA-2 family. More secure than SHA-256 but less commonly used.
SHA512 = 4SHA-512 hash (512-bit). Part of the SHA-2 family. Strong and secure for long-term integrity protection.