Skip to content

A secure file transfer program developed in C language. It uses RSA algorithm to transfer file from server to the client as requested by client and uses SHA1 to check the correctness of transferred block data.

buggynap/CryptComm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

//README

** This folder contains 3 files (server.c in server folder; client.c in client folder)

1. 201505587_assign_1_client.c
2. 201505587_assign_1_server.c
3. README


** Compile CLIENT as

gcc 201505587_assign_1_client.c -lm -lcrypto

("-lcrypto" parameter is required as I have used "openssl/sha.h" for caluculating the hash i.e. SHA1)


** Compile SERVER as

gcc 201505587_assign_1_server.c -lm -lcrypto

("-lcrypto" parameter is required as I have used "openssl/sha.h" for caluculating the hash i.e. SHA1)


** first run the server as

./a.out


** then client as

./a.out 127.0.0.1 <file_name>(optional)

(If file is not provided as the command line argument then it will be asked explicitly.)


About

A secure file transfer program developed in C language. It uses RSA algorithm to transfer file from server to the client as requested by client and uses SHA1 to check the correctness of transferred block data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages