how cvv number is generated?
Because most online transactions use track-2, the CCA verbs generate and verify the CVV1 by the track-2 method. The Visa CVV Generate verb calculates a 1-byte to 5-byte value through the DES-encryption of the PAN, the card expiration date, and the service code using two data-encrypting keys or two MAC keys.