0

I have an object like following

var CareGiverData = new Object();

    CareGiverData.firstName = 'abg';  


    CareGiverData.lastName =  'abg';
    CareGiverData.Address1 =  'abg';
    CareGiverData.Address2 =  'abg';
    CareGiverData.City =  'abg';
    CareGiverData.State =  'abg';
    CareGiverData.Zip =  'abg';
    CareGiverData.Phone =  'abg';
    CareGiverData.Email =  'abg';
    CareGiverData.Language =  'abg';

i want to encrypt this object data and send it to webservice using json.stringify(data) there i want to decrypt.. Can i encrypt the entire object data using Javascript?? Can any one please suggest me better way

2
  • 1
    What's wrong with letting the transport layer handle encryption, i.e. SSL? Commented Jul 25, 2013 at 10:35
  • Possible duplicate: stackoverflow.com/questions/14219608 Commented Jul 25, 2013 at 10:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.