mirror of
https://github.com/SabreTools/NDecrypt.git
synced 2026-07-08 18:06:38 +00:00
36 lines
758 B
C#
36 lines
758 B
C#
using System;
|
|
|
|
namespace NDecrypt.Core.Tools
|
|
{
|
|
/// <summary>
|
|
/// Available hashing types
|
|
/// </summary>
|
|
[Flags]
|
|
public enum Hash
|
|
{
|
|
CRC = 1 << 0,
|
|
MD5 = 1 << 1,
|
|
SHA1 = 1 << 2,
|
|
SHA256 = 1 << 3,
|
|
SHA384 = 1 << 4,
|
|
SHA512 = 1 << 5,
|
|
|
|
// Special combinations
|
|
Standard = CRC | MD5 | SHA1,
|
|
DeepHashes = SHA256 | SHA384 | SHA512,
|
|
SecureHashes = MD5 | SHA1 | SHA256 | SHA384 | SHA512,
|
|
All = CRC | MD5 | SHA1 | SHA256 | SHA384 | SHA512,
|
|
}
|
|
|
|
/// <summary>
|
|
/// Different types of INI rows being parsed
|
|
/// </summary>
|
|
public enum IniRowType
|
|
{
|
|
None,
|
|
SectionHeader,
|
|
KeyValue,
|
|
Comment,
|
|
Invalid,
|
|
}
|
|
} |