Is this possible?
I have a ecommerce website that has a eWay Payment Gateway, so I wanted to get the encrypted card details with the use of the client side encryption key that can be seen in the code $(".form").attr("data-eway-encrypt-key", "The encryption key is placed here");
I wonder if this is possible because I want to pass the encrypted data to another form here is the link of encrytion js https://secure.ewaypayments.com/scripts/eCrypt.js
I have done a similar thing, not exactly sure where you need help from your question but this is my code. I use "RealCardNumber" as a text field and "CardNumber" as a hidden field that gets populated with the encrypted data and sent to the server (same for card code).