Asymmetric encryption uses two related keys--a key pair. A public key is made freely available to anyone who might want to send you a message. A second, private key is kept secret, so that only you know it.

Any message (text, binary files, or documents) that are encrypted by using the public key can only be decrypted by applying the same algorithm, but by using the matching private key. Any message that is encrypted by using the private key can only be decrypted by using the matching public key.

This means that you do not have to worry about passing public keys over the Internet (the keys are supposed to be public).

Namespace:  RedCritterServerV1.Encryption
Assembly:  RedCritterServerV1 (in RedCritterServerV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public static class Asymetrical
Public NotInheritable Class Asymetrical

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Decrypt(String, String)
Asymetrical Decryption for decrypting inbound data communications from client
Encrypt(String, String)
Asymetrical Encryption for encrypting data for outbound communications to client

Inheritance Hierarchy

System..::.Object
  RedCritterServerV1.Encryption..::.Asymetrical

See Also