Encrypt and Decrypt C program (Linux base)

Probíhá Zveřejněno před 2 lety K zaplacení v momentě doručení
Probíhá K zaplacení v momentě doručení

You've put all of your valuable secrets (some personal data) into a single file (text file), the program needs to be able to encrypt or decrypt its valuable contents.

Create a Linux C99 program helloworld.c using the following

- clang -O0 -Wall -Wextra -Werror -Wno-error=unused-parameter -g -std=c99 - D_GNU_SOURCE -DDEBUG helloworld.c

When your program is run it seems to be the simplest program; it just prints Hello World …

./[login to view URL] (prints "Hello World" without the quotes to standard-out and exits with value 0)

However, if it is renamed to encrypt it creates an encrypted version of your secrets with every byte xor'd with a random value –

./encrypt [login to view URL] [login to view URL] [login to view URL]

It opens the file [login to view URL] (using open and mmap) for reading and writing, and creates two new files [login to view URL] 2.bin. As it processes the bytes of [login to view URL] it also overwrites the contents of [login to view URL] with zero bytes so that the file's original content is no longer easily recoverable. Output file [login to view URL] is a sequence of random bytes (read from /dev/urandom).

Document will be uploaded after responses

Programování v C Linux

Identifikační číslo projektu: #30155268

O projektu

2 nabídek Projekt na dálku Aktivní před 2 lety

Uděleno uživateli:

beckykanairo

MASTERS IN SOFTWARE ENGINEERING HELLO DEAR [login to view URL] is FAST DELIVERY and PROFESSIONAL SERVICES. Your project attracts my interest and I have creative solutions to realize your own,i have the skills for a satisfactor Další

$140 USD za 1 den
(2 recenzí)
2.6