Generate a Mod10 check digit or confirm a value's Mod10 validity.