Right-pad a printed passport number to the 9-char MRZ field with <.
Useful when the issued number is shorter than 9 chars.
Lowercase letters are uppercased before validation, so callers do not need to pre-normalize case.
The number as printed on the data page (1..9 chars).
A 9-char string in the MRZ alphabet, right-padded with <.
Public algorithm primitives. Tree-shakable subpath:
nationid/algorithms.Each function is a pure mathematical primitive with cited spec.