Hello! Thank you for this library. Would like to report that the credit card number generator generator is broken.
It doesn't correctly handle conversions between runes and integers, leading to weird math based on the uint32 value that represents the given ascii digits. Leads to credit card numbers that have a bunch of null-byte characters.
It doesn't correctly find even-odd positional characters, so the checksum is wrong for numbers with odd lengths (e.g., Amex)
It should generate random numbers for all digits after the prefix and before the checksum, but instead, it just kept calculating checksums for ever-lengthening numbers, leading to boring CCs that are always the same for a given prefix.
Hello! Thank you for this library. Would like to report that the credit card number generator generator is broken.
I'll open a PR in a minute.