Desert Ice
Desert Ice

Reputation: 4630

Diffie Hellman Key Exchange in Android

I was thinking of implementing Diffie-Hellman on android mobile systems. In this application two sides say A and B generate keys which are later exchanged to get the common secret key.Android provides support for generating the keys but i want to know what would be the most secure to conduct the exchange. If the method used for exchange is not secure it completely defeats the purpose of using this method.

Upvotes: 3

Views: 2532

Answers (1)

nithinreddy
nithinreddy

Reputation: 6197

Why not use your web server as a interface, which creates the corresponding public and private key, and uses it for encryption and decryption? Make sure you even encrypt the way the keys which are sent b/w server to application are encrypted.

Upvotes: 3

Related Questions