Table of Contents

Enum HashFormat

Namespace
Tharga.Toolkit
Assembly
Tharga.Toolkit.dll

Specifies the output text format used when converting a computed hash to a string.

public enum HashFormat
Extension Methods

Fields

Base32 = 5

RFC 4648 Base32 encoding using the alphabet A-Z and 2-7. Padding characters may be included depending on implementation. Example: KRSXG5A=

Base64 = 2

Standard Base64 encoding. Example: XUFAKrxLKna5cZ2REBfFkg==

Base64UrlSafe = 3

URL-safe Base64 encoding, using '-' and '_' instead of '+' and '/', and omitting padding characters. Example: XUFAKrxLKna5cZ2REBfFkg

Hex = 0

Uppercase hexadecimal format without separators. Example: 5D41402ABC4B2A76B9719D911017C592

HexLower = 1

Lowercase hexadecimal format without separators. Example: 5d41402abc4b2a76b9719d911017c592

HexWithDashes = 4

Hexadecimal format separated by dashes between bytes. Example: 5D-41-40-2A-BC-4B-2A-76-B9-71-9D-91-10-17-C5-92