The Full Wiki

Card Identification Number: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


(Redirected to Card Security Code article)

From Wikipedia, the free encyclopedia

The Card Security Code is located on the back of MasterCard, Visa and Discover credit or debit cards and is typically a separate group of 3 digits to the right of the signature strip.
On American Express cards, the Card Security Code is a printed (NOT embossed) group of four digits on the front towards the right.

The Card Security Code (CSC), sometimes called Card Verification Value (CVV or CV2), Card Verification Value Code (CVVC), Card Verification Code (CVC), Verification Code (V-Code or V Code), or Card Code Verification (CCV)[1] is a security feature for credit or debit card transactions, giving increased protection against credit card fraud.

There are actually several types of security codes:

  • The first code, called CVC1 or CVV1, is encoded on the magnetic stripe of the card and used for transactions in person.
  • The second code, and the most cited, is CVV2 or CVC2. This CSC (also known as a CCID or Credit Card ID) is often asked for by merchants for them to secure "card not present" transactions occurring over the Internet, by mail, fax or over the phone. In many countries in Western Europe, due to increased attempts at card fraud, it is now mandatory to provide this code when the cardholder is not present in person.[citation needed]
  • Contactless card and chip cards may supply their own codes generated electronically, such as iCVV or Dynamic CVV.

The CVC should not be confused with the standard card account number appearing in embossed or printed digits. (The standard card number undergoes a separate validation algorithm called the Luhn algorithm which serves to determine whether a given card's number is appropriate.)

The CVC should not be confused with a card's PIN value or PINs associated with MasterCard SecureCode or Visa's Verified by Visa. These codes are not printed or embedded in the card but are manually entered at the time of transaction.



This value is calculated with a CVK as described below and is recorded on the card. The purpose of the CVC is to ensure the data stored on the magnetic stripe of the card is valid and was generated by the issuing bank. This value is submitted as part of online transactions and is verified by the issuing bank.

A limitation of the CVC is that if the entire magnetic stripe is copied, rather than generated, the card can be duplicated. See the Skimming section for more details.

Location of CVV2

The CVV2 is a three- or four-digit value printed on the card or signature strip, but not encoded on the magnetic stripe.

"CVC2" (card validation code) MasterCard,
"CVV2" (card verification value) Visa,
"CID2" (card identification) number, Discover.

It is not embossed like the card number, and is always the final group of numbers printed on the back signature panel of the card. New North American MasterCard and Visa cards feature the "CVC2" in a separate panel to the right of the signature strip.[2] This has been done to prevent overwriting of the numbers by signing the card.

  • American Express cards have a four-digit code printed on the front side of the card above the number, referred to as the CID (or Unique Card Code). It is printed flat, not embossed like the card number.

Supplying the CVV2 code in a transaction is intended to verify that the customer has the card in their possession. Knowledge of the code proves that the customer has seen the card, or has seen a record made by somebody who saw the card. To date, no cracks for this system are known.

Security benefits of CVV2

Since the CVV2 is not contained on the magnetic stripe of the card, it is not typically included in the transaction when the card is used face to face at a merchant. However, some merchants in North America, such as Sears and Staples require the code. For American Express cards, this has been an invariable practice (for "card not present" transactions) in European Union (EU) states like Ireland and the United Kingdom since the start of 2005. This provides a level of protection to the bank/cardholder, in that a corrupt merchant cannot simply capture the magnetic stripe details of a card and use them later for "card not present" purchases over the phone, mail order or Internet. To do this, a merchant would also have to note the CVV2 visually and record it, which is more likely to arouse the cardholder's suspicion.

Merchants who require the CVV2 for "card not present" transactions are forbidden in the USA by Visa from storing the CVV2 once the individual transaction is authorized and completed.[3] This way, if a database of transactions is compromised, the CVV2 is not included, and the stolen card numbers are less useful.

CVV2 limitations

  • The use of the CVV2 cannot protect against phishing scams, where the cardholder is tricked into entering the CVV2 among other card details via a fraudulent website. The growth in phishing has reduced the real-world effectiveness of the CVV2 as an anti-fraud device. There is now also a scam where a phisher has already obtained the card account number (perhaps by hacking a merchant database or from a poorly designed receipt) and gives this information to the victims (lulling them into a false sense of security) before asking for the CVV2 (which is all that the phisher needs).[4]
  • Since the CVV2 may not be stored by the merchant for any length of time[3] (after the original transaction in which the CVV2 was quoted and then authorized and completed), a merchant who needs to regularly bill a card for a regular subscription would not be able to provide the code after the initial transaction.
  • Some card issuers do not yet use the CVV2 - although MasterCard started in 1997 and Visa in the USA had them issued by 2001. However, transactions without CVV2 are likely to be subjected to more stringent fraud screening, and fraudulent transactions without CVV2 are more likely to be resolved in favour of the cardholder.
  • It is not mandatory for a merchant to require the security code for making a transaction, hence the card is still prone to fraud if its number only is known to phishers.

Generation of CSC codes

CVV, CVC CVC2 and CVV2 values are generated when the card is issued. The values are calculated by encrypting the PAN, expiration date and service code with encryption keys ( Often called Card Verification Key or CVK ) known only to the issuing bank, and decimalising the result.[5][6]

See also



Redirecting to Card Security Code


Got something to say? Make a comment.
Your name
Your email address