Visa Developer Community

Regular Visitor

mVisa Receive-Side Shared Secret Key Length

I've started to process about encryption/decryption with mVisa Receive Side API.

Why do shared secret key I got in my project has length of 40 bytes, I expected it's length is 32 bytes corresponding to 256-bit.

Because:

This document decribes that it use AESGCM 256, as "The field is sent in encrypted format using the AES GCM (i.e. Advanced Encryption Standard (AES) in Galois/Counter Mode (GCM)) algorithm for JSON Web Encryption (JWE) objects with 256-bit key (i.e. the shared secret between Visa and client for encryption and decryption of payload data)"

(ref: https://developer.visa.com/capabilities/visa_direct/reference#visa_direct__receive_side)

 

2 REPLIES 2
Visa Dev Moderator

Re: mVisa Receive-Side Shared Secret Key Length

Hi,

 

Thanks for inquiring about the Visa Direct mVisa API. Before moving forward, it is important to review the Visa Direct documentation via this link - https://developer.visa.com/capabilities/visa_direct/docs

 

In particular, please see the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct. After having read the documentation, if you meet those requirements, then please click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form. Please let us know if you have other questions.

 

Thank you,

Diana

Thanks,
Diana

Occasional Visitor

Re: mVisa Receive-Side Shared Secret Key Length

I've started to process about encryption/decryption with mVisa Receive Side API. Why do shared secret key I got in my mcdvoice project has length of 40 bytes, I expected it's length is 32 bytes corresponding to 256-bit.