This is a very interesting example! (DotNET password system)

Source: Internet
Author: User
Tags dotnet asymmetric encryption
(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 ");

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.