To calculate IBAN checksums, you convert the bank account identifier to a number, take the modulus of 97, and then subtract that from 98. Example: ABNA01234 → 10 11 23 10 0 1 2 3 4 1011231001234 mod 97 = 38 98 - 38 = 60 What is the purpose of that last step?
That is… the definition of a checksum. But why subtract from 98 instead of using the modulus result directly?
-
-
Probably to avoid a zero
-
I was looking it up but my math isn’t the best. If I would have to guess it’s to avoid a 0/00 check indeed.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
at
retweets