CPT 341 Project2 | Text File

Please download to get full document.

View again

of 4
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Documents

Published:

Views: 8 | Pages: 4

Extension: DOCX | Download: 0

Share
Related documents
Description
cpt
Transcript
  CPT 341 VB.NET Project 2Windows Form Application  ! mmetric #e Encr ptionTopics$ !imple Encr ption%&ecr ption' !trin( )anip*lation + Con,ersion' File -%' !e/*ential Te0t File' ComoBo0 Control' penFile&ialo( Control' A!C-- Caracter !et' Asc' Cr' !*!trin(' )od perator Develop a Visual Basic Windows Forms application that will ‘encrypt’ (charactershift) the characters in a string based on a symmetric ey (process nown assymmetric!ey cryptography) #he application must also ‘decrypt’ the messagebased on the symmetric ey used !ample Windows Form Controls5eneral 6e/*irements ã  #he clear!te$t message (that will be ‘encrypted’) is to be stored in a te$t!%le o  #he te$t!%le is to be selected using an OpenFileDialog  runtime controlob&ect o  #e$t!%le contents are to be displayed in a #e$tbo$ control located onthe Windows form (you can also use this te$tbo$ to input clear!te$tcharacters)  ã 'eys are contained in a  ComboBox   control ob&ect sers can select aparticular ey resulting in alternate cipher!te$t output o 'eys are to be a minimum of  digits *ach ey digit is used forencoding where your program will move to the ne$t digit for everycharacter in the clear!te$t message  +ince there are a limited number of digits in a ey, your programmust ‘wrap!bac’ to the %rst digit o  #he selected ey must be stored in an array ã sing the same ey for encryption, decrypt the cipher!te$t message anddisplay it in a te$tbo$ on the Windows Form ã +ince only printable characters are used (see table), if the -.+/ codebecomes larger than 012, you will need to wrap around to the -.+/ code 31(space) ã se e$ception handling where needed ã -dd comments throughout your code *$ample4 sing a sample ey of 56701, the output would be as follows4 8lear 8haracter.9/#VB.e#-+8// 8ode:6::36316222:60;06-+8// 8ode < 'eyValue63616165370:6:0;162+hifted 8haracter+==>?9WfV 8lear!#e$t4 >.9/# VB.et@8ipher!#e$t4 >+==@?9WfV@  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Project 2 &*e &ate$ 72%27%2718 Note$ !end all completed VB Project 9les to$ w0t1:;;<njit.ed* or *se&ropo0' 5oo(le &ri,e' etc. AN!- Caracter !et  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Project 2 &*e &ate$ 72%27%2718 Note$ !end all completed VB Project 9les to$ w0t1:;;<njit.ed* or *se&ropo0' 5oo(le &ri,e' etc.
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks