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 Message Converter to XML SQL CSV interface specification mapping

This article describes how the ISO8583 Converter creates an XML,  SQL and CSV object from an incoming TCP/IP ISO8583 binary message, and then sends it to a HTTp host as a POST, and a Mysql database, and a flat file on disk respectively. Go to ISO8583 converter to JSON for more details and download links.

Check the article for screenshots and logs of a conversion from ISO8583 to SQL XML CSV

PCI compliant with neapay switch

PCI compliant with neapay switch Steps and procedure: Configuration parameters to acheive service PCI DSS compliance


Add extra custom fields to the ISO8583 simulator

Adding extra, custom fields to the ISO8583 simulator in 3 simple steps is as easy as running the tests: Edit the spreadsheet and save it; Edit the message that reads the test data; Alter the ISO8583 message.

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.


Regression Testing in 1 click with instant Analytics and CSV report

The neaPay Payments simulator is designed from the start to follow the life of a project, and therefore, after all testing has been completed, we need to turn over to BAU the easy to use, easy to assess, regression test. 1-click easy.

Iso8583 - articles

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!

Download and Use the software yourself

Download software

Read Documentation and Start guides

Get started