-1

i have implementing one login page.I have to send password in encrypt format to the server using RSA algorithm.But not working can u advice me for this query.

jecob
  • 245
  • 1
  • 3
  • 5

2 Answers2

2

Check this C++ code: http://www.efgh.com/software/rsa.htm It has both the key generation function as well as the encrypt/decrypt. It even has an implementation for large integers which are needed for secure public-key cryptography.

Israel Roth
  • 441
  • 3
  • 9
1

Take a look at the CryptoExercise included with your iPhone SDK Documentation, it should point you in the right direction.

jessecurry
  • 22,068
  • 8
  • 52
  • 44