Create a C program that creates up to 10 user accounts using pointers, strings and asciicode function
$10-30 USD
En curso
Publicado hace más de 5 años
$10-30 USD
Pagado a la entrega
General Program (In C programing language):
Create a program which prompts the user to enter up to 10 user accounts with the following information using a structure named user_s:
- User Name
- Decoded Password
-Encoded Password
-Token
Display an error if the user does not enter valid information per the program requirements listed above and allow then to re-enter this information. Encode the password using the token provided using an EncodePassword function and store this into the user_s structure for each user.
void EncodePassword(user_s* );
Store the user information in a file.
The output should look like below for one user:
User Name Decoded Password Encoded Password Token
ADonald adonald1234 WGEWFJPPS1264 4
Rules:
-Password can only contain alpha numeric characters
-Password must be at least 8 characters
-Token is required to encode and decode a password
-Token must be an integer ranging from 1 and 9
It is very important to use strings, pointers and asciicode function(attached) in the C program to do this program. If you feel this work requires extra pay I would be happy to negotiate the price.