Calculate CVV CVC iCVV CVV2 CVC2 dCVV for Visa Mastercard verification

Calculate CVV/CVC

To calculate the verification values you need the following data:

Enter the 16 or 19 digits card number:

Enter the 4 digit Expiry Date YYMM(EX: 2312):

Enter the 32 hex digits CVV Encryption Key(MDK):

Service code (used for CVV/CVC only):

Application Transaction Counter ATC(used for dCVV only):


How Card Verification Value
calculation for Visa Mastercard works

Documentation - How to calculate CVV - Algorythm

Step 1. Ensure a 2-part 16 byte key. That is 32 hex characters. We will call this "Key"

Step 2. Ensure 16 or 19 digits PAN Card number

Step 3. Ensure 4 characters of Expiration Date

Step 4. Ensure 3 characters of Service Code

Step 5. Concatenate PAN, Expiry date, Service Code

Step 6. Fill with zeroes to the right until you have 32 characters. We will call this "Data"

Step 7. Encrypt (DES) the first half of the data with the first half of the key

Step 8. XOR the result with the second half of Data.

Step 9. Encrypt (DES) the result with the first half of the Key.

Step 10. Decrypt the result with the second half of the key.

Step 11. Encrypt the result with the first half of the key.

Step 12. Get only the digits(numbers) from the result; First 3 are the CVV

ISO8583 ATM POS Crypto API integration with exchanges like Coinbase or Binance

The payments converter has the capability to convert any payment messages to API requests to exchanges.

Integrate crypto payments or crypto purchase from within your system, ATM or Host for Bitcoin, Ether, and many other cryptocurencies.

Add extra custom fields to the ISO8583 simulator

Adding extra, custom fields to the ISO8583 simulator in 3 simple steps: Edit the spreadsheet and save, edit the message that reads the test data, alter the ISO8583 message.

Deploy the Payments Switch Router in a test environment

Deploy then neaPay Payments switch router to easily route transactions based on BIN/prefix, amount, merchant, originating or destination insytitution, node.

1. As a container orchestration with Docker-compose

2. As separate services managed as stand-alone.

Altering test cases in Excel for the ISO8583 simulator

When you need to customize your own test case, you need to follow some simple steps all the time.
In order to obtain this, you need to alter test data in Excel, save your new test data, export for the simulator, restart simulator with new test cases.

Changing test cases with the neaPay ISO8583 simulator is really easy because you just need to work with Excel.

Run One, Run Scenario, Run All, Run Load in the neaPay ISO8583 Simulator - Use guide

4 modes are available to the user out of the box:

  1. RunOne - runs only the selected Test Case
  2. RunScenario - runs only the selected Scenario
  3. RunAll - runs all test cases in the list
  4. RunLoad - runs the core in Load mode

Ask a question, get advice and help


Read related articles - Iso8583

EMV explained for programmers

EMV explained for programmers

Are you ready to start or need help?

Ready to start your next project with us? Give us a call or send us an email and we will get back to you as soon as possible!

Get a free quote, Ask for details, Get guidance

Contact us

Download and Use the software yourself

Download software

Follow a getting started guide to deploy and use the software

Get started