Right-pad a printed passport number to the 9-char MRZ field with <.
Useful when the issued number is shorter than 9 chars.
Throws on inputs longer than 9 chars or containing non-MRZ characters (after uppercasing). Lowercase letters are uppercased before validation.
Public algorithm primitives. Tree-shakable subpath:
nationid/algorithms.Each function is a pure mathematical primitive with cited spec.