encryption - Encrypt a file in Android then decrypt it in PC -
i want collect data , write in encrypted file using public key (in android). send file pc read. in pc need create application decrypt file too. how can , how share key securely?
if have encrypted file using public key, file can decrypted using associated private key. called asymmetric encryption. sending application private key out of application context severe security breach. public keys meant shared publicly, not private key.
in case can encrypt file on android device using pc/sever public key, send server , decrypt @ server/pc using pc's private key. best solution.
Comments
Post a Comment