Re: Cannot decrypt PAN (RsaOaep256): data hash wrong
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2021
July 2021
Cannot decrypt PAN (RsaOaep256): data hash wrong
I am trying to implement the encryption using the RSA-OAEP-256 but everytime I encrypt my card and send it I get the error "Cannot decrypt PAN (RsaOaep256): data hash wrong" and I am using the RSA OAEP 256 method to encrypt! I've been at it for days if I can get some help that would be great thank you!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2021
July 2021
Re: Cannot decrypt PAN (RsaOaep256): data hash wrong
I misstyped I am trying to encrypt the card number not decrypt^^
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2021
July 2021
Re: Cannot decrypt PAN (RsaOaep256): data hash wrong
Hi @Recordings,
Please let us know which API you are using to encrypt the card.
Please also share the following details so we may investigate further:
- End Point URL
- Request Header
- Request Body
- Response Header (include the x-correlation-id)
- Response Body
Best,
Stacey
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.