Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing Public Key  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Bouncy Castle to create a RSA Public/Private Keypair. How can I pass my public key using a socket to another user so they can encrypt the message they send to me.

--John
 
author
Sheriff
Posts: 23554
138
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Feel free to do it any way you want... Public keys can be passed in the clear. It is not possible to decrypt a message without the private key.

Henry
 
Liar, liar, pants on fire! refreshing plug:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!