Visa Checkout Decryption

Solved! Go to solution
aspinella
Newbie

Visa Checkout Decryption

Does exist any code about decryption using Python 3?

I had a lot of issues using M2Crypto (not compatible with python 3), and a can't reproduce the same using Crypto.

Thanks!

 EDIT:
This is the line that I need to change:

 

     cipher = EVP.Cipher('aes_256_cbc', hash(key), iv, 0)

     unencrypted = cipher.update(data)
     return unencrypted + cipher.final()

 

What others functions can I use instead EVP?

1 REPLY 1
marty
Community Moderator

Re: Visa Checkout Decryption

Hi - thanks for your question. We don't have sample code here for you, but please take a look at the Visa Checkout Integration Guide (https://developer.visa.com/images2/products/visa_checkout/VisaCheckoutMerchantDocs.zip) for answers to your question. There are steps in there that may be able to help you.

Thank you

Marty

Visa Developer Team