Finished PA01
+- EncryptionUtility.c +- PA01_Main.c
This commit is contained in:
parent
dc1a4f1638
commit
c1db9f52b8
2 changed files with 138 additions and 57 deletions
|
|
@ -43,12 +43,12 @@ int main( int argc, char *args[] )
|
|||
|
||||
printf( "\nDisplay encryption as characters:\n" );
|
||||
displayArray( *encryptedInput, DISPLAY_CHARS );
|
||||
/*
|
||||
|
||||
printf( "\nDecrypting the input string\n" );
|
||||
decryptData( decryptedStr, encryptedInput );
|
||||
|
||||
printf( "\nDecrypted string: %s\n", decryptedStr );
|
||||
|
||||
|
||||
printf( "\nDownloading encryption\n" );
|
||||
promptForString( "\nEnter file name for download: ", fileName );
|
||||
downloadData( fileName, *encryptedInput );
|
||||
|
|
@ -64,12 +64,11 @@ int main( int argc, char *args[] )
|
|||
decryptData( stringFromFile, uploadedInput );
|
||||
|
||||
printf( "\nUploaded string: %s\n", stringFromFile );
|
||||
*/
|
||||
|
||||
// end program
|
||||
|
||||
// clear arrays
|
||||
// encryptedInput = clearArrayType( encryptedInput );
|
||||
encryptedInput = clearArrayType( encryptedInput );
|
||||
|
||||
// display end of program
|
||||
printf( "\nProgram End\n" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue