
Help with my C project
- or -
Post a project like this3606
$20
- Posted:
- Proposals: 4
- Remote
- #1043663
- Completed
Description
Experience Level: Expert
General information for the business: homework, c language, tables, algorithm
Kind of development: New program from scratch
Description of requirements/functionality: I need someone help me build two C language small programs. In these programs i need comments to understand every step. I think someone who knows programming in C can prepare these two programs in 1 hour.
Program 1
In programming language C. Write a code for the simple algorithm of Caesar. You have to do the following:
1.You must create a multidimensional 2D table that is able to store the plain text and encrypted.
2. You must print a message(prompt) on the screen that asks the user to give a number from 1 to 25 (shift size) or press X to exit.
3. Then it must prints a message(prompt) to the user to choose if he wants to encrypt or decrypt.
4. You must save the user's proposal on your 2D table on line 0.
5. Then encrypt or decrypt the user's proposal and save it to your 2D table on line 1.
6. Print Table 2D
7. Then repeat step 2
In your above program you will need to do some routines that will be the following:
Encrypt: takes a character and cipher as input and returns the encrypted value
Decrypt: takes an encrypted character and returns the cipher and decrypted value
PrintArray: prints the 2D table in the form of two proposals.
Store: It takes line and column coordinates and save byte and stores the data in Table 2D
Load: It takes line and column coordinates and load a byte of data from Table 2D
* The LOAD & STORE routines will be called only through the routines Encrypt, Decrypt & PrintArray.
Also in your program set a stack in memory and use it to save there, all registers routines instead of save registers into local variables. You could design POP & PUSH routines where do not check for stack overflow or underflow, but if you do this you will get higher score.
For even higher rating (BONUS) use the stack to pass values back and forth(to and from) the routines instead of using registers (registers).
Program 2
In programming language C. Write a code for the RSA algorithm that generates a pair of keys to encrypt and decrypt a text.
Extra notes:
Kind of development: New program from scratch
Description of requirements/functionality: I need someone help me build two C language small programs. In these programs i need comments to understand every step. I think someone who knows programming in C can prepare these two programs in 1 hour.
Program 1
In programming language C. Write a code for the simple algorithm of Caesar. You have to do the following:
1.You must create a multidimensional 2D table that is able to store the plain text and encrypted.
2. You must print a message(prompt) on the screen that asks the user to give a number from 1 to 25 (shift size) or press X to exit.
3. Then it must prints a message(prompt) to the user to choose if he wants to encrypt or decrypt.
4. You must save the user's proposal on your 2D table on line 0.
5. Then encrypt or decrypt the user's proposal and save it to your 2D table on line 1.
6. Print Table 2D
7. Then repeat step 2
In your above program you will need to do some routines that will be the following:
Encrypt: takes a character and cipher as input and returns the encrypted value
Decrypt: takes an encrypted character and returns the cipher and decrypted value
PrintArray: prints the 2D table in the form of two proposals.
Store: It takes line and column coordinates and save byte and stores the data in Table 2D
Load: It takes line and column coordinates and load a byte of data from Table 2D
* The LOAD & STORE routines will be called only through the routines Encrypt, Decrypt & PrintArray.
Also in your program set a stack in memory and use it to save there, all registers routines instead of save registers into local variables. You could design POP & PUSH routines where do not check for stack overflow or underflow, but if you do this you will get higher score.
For even higher rating (BONUS) use the stack to pass values back and forth(to and from) the routines instead of using registers (registers).
Program 2
In programming language C. Write a code for the RSA algorithm that generates a pair of keys to encrypt and decrypt a text.
Extra notes:
Konstadinos D.
99% (18)Projects Completed
21
Freelancers worked with
15
Projects awarded
47%
Last project
29 Jun 2020
Greece
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies