(Yizhong International-) [Original] this is a very interesting example!
//////////////////////////////////////// /////////////////////
// Author: stardicky //
// E-mail: stardicky@hotmail.com //
// QQNumber: 9531511 //
// Company: Ezone International //
// Class: HBS-0308 //
// Title: use the password system to ensure data security //
//////////////////////////////////////// /////////////////////
// Introduction ://
// This is a very interesting example! //
// Ting is the girlfriend of Dicky in Ezone International, and Viisen is //
// Their superiors. Viisen do not allow employees in the company to fall in love with each other. There is a policy and a correct policy //
// CE, Ting, and Dicky use free time to communicate with the recipient via email, Viisen //
// Send a task to Dicky by sending an email. To save the security of the email //
// Yes. Emails are sent using the RC2 (symmetric encryption) encryption method. The RC2 key passes through RSA //
// (Asymmetric encryption) encryption. Ting, Dicky, and Viisen each have a pair of public keys and keys //
// The communication content of Ting and Dicky is invisible to Viisen. Dicky and Viisen //
// The communication content is invisible to Ting .//
//////////////////////////////////////// /////////////////////
Using System;
Using System. IO;
Using System. Text;
Using System. Security. Cryptography;
Namespace EzoneSecuritySystem
{
Class EzoneSecurityDemo
{
// Create three employee objects: Dicky, Ting, and Viisen.
Public static EzonePerson Dicky = new EzonePerson ("Dicky ");
Public static EzonePerson Ting = new EzonePerson ("Ting ");
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.