question

sonug avatar image
sonug asked David Marginian Deactivated commented

javascript

i am using jquery to encrypt the card number but i am getting error crypto failure every time.is there any code to encrypt the card using jquery
Payments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sonug avatar image
sonug answered David Marginian Deactivated commented
Hi David,
We already check that solution but it is not working for me. As we know node js is server side. We want to encrypt card on client side using jquery or java script. Please let us know your suggestion,
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image David Marginian ♦♦ commented ·

There are ports of it to the browser - https://www.npmjs.com/package/crypto-browserify. I haven't tried this but it is worth a shot.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community