IbanGen is a package for generating and validating IBANs. When generating IBANs, various parameters can be specified such as country code, account number etc…
String IBAN representation can be parsed (with validation) into the corresponding structure.
using IbanGen
julia> iban_random(CountryCode = "GB")
Dict{String,String} with 6 entries:
"CountryCode" => "GB"
"BranchCode" => "762337"
"AccountNumber" => "23076227"
"value" => "GB95GBRJ76233723076227"
"BankCode" => "GBRJ"
"CheckDigits" => "95"
julia> iban("GB95GBRJ76233723076227")
Dict{String,String} with 6 entries:
"CountryCode" => "GB"
"BranchCode" => "762337"
"AccountNumber" => "23076227"
"value" => "GB95GBRJ76233723076227"
"BankCode" => "GBRJ"
"CheckDigits" => "95"