Table of Contents

CheckDigitOutputAlphabet Enum

Definition

Namespace
Bodu.IO.Hashing.CheckDigits
Assembly
Bodu.IO.Hashing.dll
Package
Bodu.IO.Hashing 1.0.0
Source
CheckDigitOutputAlphabet.cs

Identifies the alphabet from which a single-character check-digit algorithm may emit its check character.

public enum CheckDigitOutputAlphabet
Extension Methods

Fields

DecimalDigits = 0

ASCII decimal digits only ('0' to '9').

DecimalDigitsOrX = 1

ASCII decimal digits ('0' to '9') plus the sentinel 'X' used to represent the check value ten in schemes such as ISBN-10 and ISO 7064 MOD 11-2.

Code39 = 2

The full forty-three-symbol Code 39 alphabet: the decimal digits, the uppercase Latin letters, and the symbols '-', '.', space, '$', '/', '+', and '%'.

CrockfordBase32Check = 3

The thirty-seven-symbol Crockford Base32 check alphabet: the thirty-two encoding symbols plus the five check-only symbols '*' (32), '~' (33), '$' (34), '=' (35), and 'U' (36).

Remarks

Consumed by AlphanumericCheckDigitAlgorithm. Multi-character algorithms defined via MultiCharCheckDigitAlgorithm emit decimal digits only and therefore do not use this enumeration.

Applies to

ProductVersions
.NET8, 10