Damm Algorithm Validator
Validate full caller Damm decimal checksum using standard quasigroup, retain final interim digit; not identity, bank assignment or security.
Description
Damm validation processes decimal digits through a quasigroup table.
Damm validation processes decimal digits through a quasigroup table.1
A zero final state indicates checksum agreement rather than record authenticity. Use Damm Algorithm Validator to evaluate the supplied inputs under the specific model below.
When to use Damm Algorithm Validator
Use Damm Algorithm Validator to evaluate the supplied inputs under the specific model below. Choose the intended encoding, alphabet or check and keep the exact character, key and measurement conventions described below.
How to use Damm Algorithm Validator and understand its results
- Choose the intended encoding, alphabet or check and keep the exact character, key and measurement conventions described below.
- Enter Decimal digits using the field table and validation rules below, then run the tool.
- Read Interim digit, Valid damm checksum and interpret units, signs, ordering and placeholders as explained below.
- If the tool reports an input error, correct that field and rerun. A successful false result, empty match list or unknown-evidence placeholder has the specific meaning described here; check the limitations before applying the result.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| decimalDigits | Decimal digits | string | Required; constraints below |
Enter a nonempty ASCII digit string of at most 4096 characters, including the supplied check digit. Fold digits left to right through the fixed Damm quasigroup table starting at zero and report whether the final value is zero. Leading zeros remain part of the input; no check digit is generated or issuing registry consulted.
state=0; state←DammTable[state][nextDigit]; valid = state==0 Field order, units and branch conditions follow the implementation explanation above.
| Output field | Meaning | Value type |
|---|---|---|
| interimDigit | Interim digit | number |
| validDammChecksum | Valid damm checksum | boolean |
{
"input": {
"decimalDigits": "5724"
},
"output": {
"interimDigit": 0,
"validDammChecksum": true
}
} Limitations and assumptions
A zero final state indicates checksum agreement rather than record authenticity. Apply the exact scope and assumptions described above.
All listed fields require explicit values. Unexpected fields, incorrect types, nonfinite numbers and sparse arrays fail validation. Domain-specific bounds, alignments and supported tokens are stated above; extremely large inputs or outputs can also be rejected. These errors differ from successful results such as false, no matches or unknown evidence.
Alternative or Complementary methods
Use Verhoeff Algorithm Validator for a related task: Verhoeff validation uses a decimal check-digit structure.
Use IBAN mod-97 Validator for a related task: An IBAN check validates a modular checksum within a canonical text envelope.
References
-
Damm Algorithm Validator — tool.io
Similar or alternative tools
- Verhoeff Algorithm Validator
Verhoeff validation uses a decimal check-digit structure.
- IBAN mod-97 Validator
An IBAN check validates a modular checksum within a canonical text envelope.