FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Liutauras Vilda
Bear Bibeault
Devaka Cooray
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Campbell Ritchie
Henry Wong
Saloon Keepers:
Tim Moores
Ron McLeod
salvin francis
Stephan van Hulst
Vijitha Kumara
Bartenders:
Tim Holloway
Carey Brown
Frits Walraven
Forum:
Sockets and Internet Protocols
Passing Public Key
John Hass
Greenhorn
Posts: 2
posted 13 years ago
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
Henry Wong
author
Sheriff
Posts: 23384
128
I like...
posted 13 years ago
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
Books:
Java Threads, 3rd Edition
,
Jini in a Nutshell
, and
Java Gems (contributor)
It is sorta covered in the
JavaRanch Style Guide
.
Post Reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Asymmetric Encryption and Decryption
problem in XOR of private key using public key....
where to place the Public key
Do you encrypt password yourselves?
XML security doubt: Public key cryptography
More...