how to encrypt/decrypt across machines ?...
yoyotheoneTue Feb 11, 2014 11:23 PM
i am using AES/CBC/PKCS5Padding algorithm to encrypt/decrypt,
it works fine across machines, since i am not using a Facrtory to create the secret .
i am using constant SecretKeySpec and iv for the ciphers.
this of course heart the security , and doesn't prevent the "man of the middle" problem .
i saw that there are ways with key generation with MAC , and RSA symmetric encryption , but i am not sure
how to implement it , and how to it depends on local certificates or files .
i have searched for an complete example , but in vain.
Report | Quote This | Reply | Print