A rust script to check if a credit card is valid
Best way to get up to speed is to watch this HaI video, but the short version of it is:
- Check length to see if it exceeds standard credit card length
- Check the first 6 digits to see if they match an issued institution
- Check the check digit that uses Luhn's algorithm