DEVRY COMP 122 L AB 7 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.

Slides:



Advertisements
Similar presentations
UOP ECON 545 W EEK 5 C OURSE P ROJECT P ART 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ECON -545/ ECON WEEK -5-
Advertisements

UOP ECON 545 W EEK 6 M ONETARY AND F ISCAL P OLICY Y OU D ECIDE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ECON -545/ ECON.
UOP ECON 545 W EEK 6 Q UIZ C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ECON -545/ ECON WEEK -6- QUIZ F OR MORE CLASSES.
DEVRY HRM 594 W EEK 1 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -1- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 1 DQ 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -1- DQ -2 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 2 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -2- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 2 T ANGLEWOOD C ASE 1 S OLUTION C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK.
DEVRY HRM 594 W EEK 3 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -3- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 3 DQ 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -3- DQ -2 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 4 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -4- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 4 T ANGLEWOOD C ASE 3 R ECRUITING S OLUTION C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM.
DEVRY HRM 594 W EEK 5 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -5- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 5 DQ 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -5- DQ -2 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 6 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -6- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 6 DQ 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -6- DQ -2 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 7 C OURSE P ROJECT C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -7- COURSE -
DEVRY HRM 594 W EEK 7 DQ 1 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -7- DQ -1 F OR MORE CLASSES.
DEVRY HRM 594 W EEK 7 DQ 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HRM -594/ HRM WEEK -7- DQ -2 F OR MORE CLASSES.
UOP IT 205 W EEK 2 A SSIGNMENT H OW C OMPUTERS W ORK P RESENTATION C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -205/ IT.
UOP IT 205 W EEK 2 C HECK P OINT K EY C OMPUTER T ERMS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -205/ IT WEEK.
UOP IT 205 W EEK 5 C HECK P OINT TXJ C OMPANIES C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -205/ IT WEEK -5- CHECKPOINT.
UOP IT 205 W EEK 9 C OMPREHENSIVE F INAL E XAM G UIDE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -205/ IT WEEK.
UOP IT 241 W EEK 1 A SSIGNMENT W IRELESS N ETWORKS P RESENTATION C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -241/ IT.
UOP IT 241 W EEK 2 C HECK P OINT I N Y OUR O WN W ORDS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -241/ IT WEEK.
UOP IT 241 W EEK 2 DQ 1 A ND DQ 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -241/ IT WEEK -2- DQ -1- AND - DQ.
DEVRY MGMT 404 E NTIRE C OURSE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT ENTIRE - COURSE F OR MORE.
DEVRY MGMT 404 W EEK 1 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -1- ILAB F OR MORE CLASSES.
DEVRY MGMT 404 W EEK 2 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -2- ILAB F OR MORE CLASSES.
DEVRY MGMT 404 W EEK 3 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -3- ILAB F OR MORE CLASSES.
DEVRY MGMT 404 W EEK 4 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -4- ILAB F OR MORE CLASSES.
DEVRY MGMT 404 W EEK 5 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -5- ILAB F OR MORE CLASSES.
DEVRY MGMT 404 W EEK 6 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -6- ILAB F OR MORE CLASSES.
DEVRY MGMT 404 W EEK 7 I L AB C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -404/ MGMT WEEK -7- ILAB F OR MORE CLASSES.
UOP IT 241 W EEK 6 - T OOL W IRE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -241/ IT WEEK -6- TOOLWIRE F OR MORE.
UOP IT 241 W EEK 6 C HECK P OINT P LACING A CCESS P OINTS A PPENDIX E C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / IT -241/
KELLER MGMT 530 W EEK 1 DQ 1 D EFINING THE P ROBLEM C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -530/ MGMT WEEK.
MGMT 410 W EEK 1 S TRATEGIC L INKAGES C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT WEEK -1- STRATEGIC.
MGMT 410 W EEK 2 C ASE S TUDY O FF THE J OB B EHAVIORS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT -410-
KELLER MGMT 530 W EEK 4 DQ 2 D ECISION M AKING S TYLES C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -530/ MGMT -530-
MGMT 410 W EEK 4 M IDTERM 1 AND M IDTERM 2 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT WEEK -4- MIDTERM.
MGMT 410 W EEK 5 DQ 1 P ERFORMANCE A PPRAISALS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT WEEK -5-
MGMT 410 W EEK 5 S IMULATION JVA C ORPORATION C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT WEEK -5-
MGMT 410 W EEK 6 C ASE S TUDY A P ERKY W AY TO P RODUCTIVITY C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT.
MGMT 410 W EEK 6 DQ 1 B ENEFIT P ACKAGES C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT WEEK -6- DQ -1-
MGMT 410 W EEK 6 DQ 2 H EALTH AND S AFETY C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / MGMT -410/ MGMT WEEK -6- DQ -2-
UOP COM 220 W EEK 7 W HAT ARE THE B ENEFITS OF B EING A P EER R EVIEWER C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COM -220/
UOP CJA 303 W EEK 1 D ISCUSSION Q UESTIONS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / CJA -303/ CJA WEEK -1- DISCUSSION.
UOP CJA 303 W EEK 2 Q UIZ C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / CJA -303/ CJA WEEK -2- QUIZ F OR MORE CLASSES.
UOP CJA 303 W EEK 5 Q UIZ C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / CJA -303/ CJA AWEEK -5- QUIZ F OR MORE CLASSES.
DEVRY COMP 122 E NTIRE C OURSE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP ENTIRE - COURSE F OR MORE.
DEVRY COMP 122 L AB 1 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRY COMP 122 L AB 2 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRY COMP 122 L AB 6 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRYCOMP 122 L AB 5 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRY COMP 220 I L AB 2 R ESISTOR L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -220/ COMP.
DEVRY COMP 220 I L AB 4 C OMPOSITION L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -220/
DEVRY COMP 220 I L AB 5 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -220/ COMP -220-
DEVRY COMP 220 I L AB 6 O VERLOADED O PERATORS L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM /
UOP COM 220 W EEK 3 C HECKPOINT A NNOTATED B IBLIOGRAPHY C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COM -220/ COM -220-
ASH ACC 306 W EEK 1 A SSIGNMENT E13-21, E13-22, P12-1, P12-7,P12- 10, P12-14, P13-6 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD.
ASH ACC 306 W EEK 2 A SSIGNMENT E 14-16, E 14-18, E 15-25, P14-21, P15-3 C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ACC.
ASH HCA 430 W EEK 4 DQ 1 P ROGRAM G OALS AND O UTCOMES C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HCA ASH / HCA -430-
ASH HCA 421 W EEK 4 DQ 1 F ORMULATION OF A S TRATEGY AND I MPLEMENTATION C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / HCA.
UOP BIO 240 W EEK 1 DQ 1 C ELLS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / BIO -240/ BIO WEEK -1- DQ -1- CELLS F OR.
ESE 691 W EEK 2 J OURNAL C ULTURAL A WARENESS C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ESE ASH / ESE WEEK.
ESE 691 W EEK 4 J OURNAL W HERE TO E DUCATE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ESE ASH / ESE WEEK -4-
ESE 691 W EEK 6 J OURNAL G ENERALIZING C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / ESE ASH / ESE WEEK -6- JOURNAL.
ABS 415 W EEK 4 DQ 2 T RANSFORMATIONAL L EADERSHIP T RANSACTIONAL L EADERSHIP C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM /
Presentation transcript:

DEVRY COMP 122 L AB 7 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB -7- LAB - REPORT - AND - SOURCE - CODE F OR MORE CLASSES VISIT HTTP :// WWW. ASSIGNMENTCLOUD. COM COMP 122 W EEK 7 I L AB T HE FOCUS OF THIS LAB IS ON USING STRINGS. Y OU WILL HAVE AN OPPORTUNITY TO WORK WITH BOTH C STYLE STRINGS AND THE STRING DATA TYPE. T HIS LAB ALSO GIVES YOU AN OPPORTUNITY TO USE WHAT YOU HAVE LEARNED PREVIOUSLY, INCLUDING USING FUNCTIONS, ARRAY PROCESSING, REPETITION, AND SELECTION. Y OU WILL ALSO HAVE AN OPPORTUNITY TO WORK WITH FILE INPUT AND OUTPUT. Y OU ARE TO DESIGN AND IMPLEMENT A PROGRAM WHICH DOES ENCRYPTION AND DECRYPTION OF DATA FROM FILES. E NCRYPTION IS THE PROCESS OF TAKING PLAIN LINES OF TEXT AND PERFORMING SOME ALGORITHMIC TRANSFORMATION ON THE DATA TO CREATE AN ENCRYPTED LINE OF TEXT WHICH LOOKS NOTHING LIKE THE ORIGINAL. D ECRYPTION IS THE PROCESS OF TAKING AN ENCRYPTED LINE OF TEXT AND PERFORMING SOME ALGORITHMIC TRANSFORMATION ON THE DATA TO RECOVER THE ORIGINAL LINE OF PLAIN TEXT. E NCRYPTION AND D ECRYPTION A PPROACH HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB -7- LAB - REPORT - AND - SOURCE - CODE HTTP :// WWW. ASSIGNMENTCLOUD. COM

O UR APPROACH TO ENCRYPTION AND DECRYPTION INVOLVES TWO STRINGS. T HE FIRST IS AN ENCRYPTION / DECRYPTION STRING WHICH WE WILL ALLOW TO BE UP TO 128 LOWER CASE ALPHABETICAL CHARACTERS IN LENGTH. T HE SECOND STRING IS A LINE OF TEXT FROM A FILE THAT IS TO BE ENCRYPTED OR DECRYPTED. O UR BASIC STRATEGY FOR ENCRYPTING DATA IS BASED ON MAPPING ALPHABETICAL CHARACTERS TO SPECIFIC VALUES, THEN DOING SOME SIMPLE MATHEMATICAL OPERATIONS TO CREATE A NEW VALUE. F IRST OF ALL, EVERY CHARACTER IN EITHER THE ENCRYPTION STRING OR THE INPUT STRING IS MAPPED TO A NUMBER BETWEEN 0 AND 25 BASED ON ITS POSITION IN THE ALPHABET. = 0 = 1 = 25 T HE MAPPED VALUE OF A CHARACTER IS EASILY OBTAINED BY DOING THE FOLLOWING : F OR LOWER CASE CHARACTERS, SUBTRACT ' A ' FROM THE CHARACTER. F OR UPPER CASE CHARACTERS, SUBTRACT 'A' FROM THE CHARACTER. T O CALCULATE THE MODIFIED VALUE OF THE FIRST CHARACTER OF INPUT WE ADD ITS MAPPED VALUE TO THE MAPPED VALUE FROM THE FIRST CHARACTER OF THE ENCRYPTION STRING. T HIS MODIFIED VALUE IS THEN ADJUSTED USING % 26 TO MAKE SURE THAT THE FINAL MODIFIED VALUE IS WITHIN THE RANGE. T O CREATE THE FINAL ENCRYPTED CHARACTER VALUE FOR THE FIRST CHARACTER, SIMPLY DO THE FOLLOWING : F OR LOWER CASE CHARACTERS, ADD ' A ' TO THE MODIFIED VALUE. F OR UPPER CASE CHARACTERS, ADD 'A' TO THE MODIFIED VALUE. T HIS IS DONE FOR EACH ALPHABETIC CHARACTER IN THE INPUT STRING. N ON - ALPHABETIC CHARACTERS SIMPLY MAINTAIN THEIR PRESENT VALUE. I F THE INPUT STRING IS LONGER THAN THE ENCRYPTION STRING, SIMPLY REUSE MAPPED VALUES FROM THE ENCRYPTION STRING. F OR INSTANCE, IF THE ENCRYPTION STRING HAS 10 CHARACTERS ( INDEX VALUES 0 - 9), WHEN PROCESSING THE 11 TH INPUT CHARACTER ( INDEX 10), SIMPLY USE THE INPUT CHARACTER INDEX % LENGTH OF ENCRYPTION STRING ( IN THIS CASE 10 % 10 IS 0) TO SELECT THE VALUE FROM THE ENCRYPTION STRING TO USE FOR MAPPING.

T HE DECRYPTION PROCESS IS BASICALLY THE SAME AS THE ENCRYPTION PROCESS. T HE ONLY DIFFERENCE IS THE VALUE OF THE MAPPED CHARACTER FROM THE ENCRYPTION STRING. F OR LOWER CASE ENCRYPTION, THE MAPPED FROM ENCRYPTION STRING - ' A ' F OR UPPER CASE ENCRYPTION, THE MAPPED FROM ENCRYPTION STRING - 'A' F OR LOWER CASE DECRYPTION, THE MAPPED - ( CHARACTER FROM ENCRYPTION STRING - ' A ') F OR UPPER CASE DECRYPTION, THE MAPPED - ( CHARACTER FROM ENCRYPTION STRING - 'A') P ROGRAM R EQUIREMENTS Y OUR PROGRAM MUST MEET THE FOLLOWING REQUIREMENTS : 1. Y OU MUST ASK THE USER IF THEY WANT TO PERFORM AN ENCRYPTION OR DECRYPTION OPERATION. 2. Y OU MUST ASK THE USER TO ENTER THE NAME OF THE FILE THEY WANT TO ENCRYPT OR DECRYPT. 3. Y OU MUST GET AN ENCRYPTION KEY FROM THE USER WHICH CAN BE UP TO 128 CHARACTERS. T HE KEY MUST BE ALL LOWER CASE ALPHABETIC CHARACTERS. 4. Y OU MUST HAVE A FUNCTION WHICH TAKES THE ENCRYPTION KEY AND CREATES AN ENCRYPTION MAP FROM IT. F OR EACH CHARACTER IN THE ENCRYPTION KEY STRING, SUBTRACT THE LOWER CASE LETTER ' A ' AND STORE THE RESULT IN THE CORRESPONDING ENCRYPTION MAP ARRAY. 5. Y OU MUST HAVE A FUNCTION WHICH TAKES THE ENCRYPTION KEY AND CREATES A DECRYPTION MAP FROM IT. F OR EACH CHARACTER IN THE ENCRYPTION KEY STRING, SUBTRACT THE LOWER CASE LETTER ' A ' FROM IT. T HEN SUBTRACT THAT RESULT FROM 26 AND STORE THE VALUE IN THE CORRESPONDING DECRYPTION MAP ARRAY. 6. Y OU MUST HAVE A FUNCTION WHICH WILL DO THE ENCRYPTION OR DECRYPTION TRANSFORMATION. T HIS FUNCTION TAKES THE FOLLOWING PARAMETERS : A CONSTANT C STRING CONTAINING THE LINE OF TEXT TO BE TRANSFORMED. A CONSTANT C CHARACTER ARRAY WHICH CONTAINS THE ENCRYPTION OR DECRYPTION MAP. A N INTEGER WHICH CONTAINS THE LENGTH OF THE ENCRYPTION MAP. A STRING REFERENCE ( OUTPUT ) WHICH WILL CONTAIN THE ENCRYPTED OR DECRYPTED STRING UPON COMPLETION. T HE CORE OF THE ENCRYPTION / DECRYPTION ALGORITHM IS