Crate card_validate

source ·
Expand description

card-validate detects and validates credit card numbers (type of card, number length and Luhn checksum).

Structs§

  • Card validation utility. Used to validate a provided card number (length and Luhn checksum).

Enums§

  • Card type. Maps recognized cards, and validates their pattern and length.
  • Validate error. Maps possible validation errors (eg. card number format invalid).