Mayank
Mayank

Reputation: 816

Best encrypting-decrypting algorithm in JAVA for data exahange using XML b/w two systems

My requirement is to find best algorithm use to secure data sent using XML over network. This is important data which is to be exchanged between third parties.

I know about DES which is quite outdated these days. MD5 appeared as another option but this does not allow decryption to get data back(please correct me if I am wrong)

What other options do we have to accomplish above task and which is best and most standard way to do it?

Tried out AES, it uses common key for encryption and decryption. Other option I explored was RSA, which has two keys public and private, for encryption and decryption.

Not able to decide about better approach of above two.

Upvotes: 2

Views: 5360

Answers (2)

UVM
UVM

Reputation: 9914

You can use Advanced Encryption Standard(AES).The differences between AES and DES

Upvotes: 2

Buhake Sindi
Buhake Sindi

Reputation: 89169

There's a W3C standard for this, it's called XML Encryption Syntax and Processing, which uses a cipher like a DES/3DES-CBC symmetric key cipher.

Upvotes: 0

Related Questions