Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I'm not sure how an int would be the output. if it's possible to have it stored as a char that's fine 5B: Date Info
I'm not sure how an int would be the output. if it's possible to have it stored as a char that's fine
5B: Date Info Encryption & Decryption Data format description: The date information is encrypted (i.e., stored) as one integer. Each byte stores month, date, century, and year, in order. For example, 10/8/2018 is stored as OXA081412 (00001010 00001000 00010100 00010010 in binary). We will write a C program to encrypt and decrypt the date information. 1. Encryption: Ask for month, date, year (including century and year), convert the information to one int type number. Output the int number and corresponding 32-bit binary representation 2. Decryption: Ask for an encrypted integer, output the 32-bit binary representation and the date information. Submission: For the encryption and decryption process, implement at least one. Complete both if you have time. Submit the source code and a screenshot of the output. 5B: Date Info Encryption & Decryption Data format description: The date information is encrypted (i.e., stored) as one integer. Each byte stores month, date, century, and year, in order. For example, 10/8/2018 is stored as OXA081412 (00001010 00001000 00010100 00010010 in binary). We will write a C program to encrypt and decrypt the date information. 1. Encryption: Ask for month, date, year (including century and year), convert the information to one int type number. Output the int number and corresponding 32-bit binary representation 2. Decryption: Ask for an encrypted integer, output the 32-bit binary representation and the date information. Submission: For the encryption and decryption process, implement at least one. Complete both if you have time. Submit the source code and a screenshot of the outputStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started