Checksums and credit card checks that do not require a connection to a financial institution

The validations that I know of are as follows:

  • Checksum: the entire card number must be zero. (range 0-9)
  • Check the first digit for card type
  • Check length on card type
  • Check the CCV length for the type of card (I think that all the main types are 3 anyway)
  • Of course, make sure that the card type is accepted, and also not expired.

Are there any other validations :) (I expect that many people are not aware of all these things)

The reason I'm asking for is because I heard that there was a checksum number against expiration or CCV. I just wanted to check.

+3
source share
1
  • (aka PAN, )
    , . 6- (IIN), luhn. IIN , , (, ), , . , 16 19 3, 4, 5 6. , IIN , .

  • Luhn/Mod10.
    - , , . wikipedia .


  • , 2 . - , , LRC ( ) . ( ) , , , , ( ), ..

  • CCV/CSC/CV2
    . , Amex ( 4 )


  • .


  • , . , ( - , ). 20 ( )


  • . .

+8

Source: https://habr.com/ru/post/1781755/


All Articles