how to encrypt/decrypt across machines ?
0 posts in topic
Flat View  Flat View

Posted By:   yoyotheone
Posted On:   Tuesday, February 11, 2014 11:23 PM

hi ,
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.
please help

About | Sitemap | Contact