module

CrystalIBAN::ChecksumUtil

Class methods

calculate_checksum(country_code : String, bank_code : String, account_number : String) : String

Calculates the ISO 13616 MOD-97 checksum for IBAN construction.

Source
letters_to_digits(s : String) : String

Replaces each uppercase letter with its two-digit numeric code (A=10, Z=35). Single O(n) pass using String::Builder.

Source