CryptographywithTCP-IP

所属分类:加密解密
开发工具:C
文件大小:10KB
下载次数:0
上传日期:2022-03-31 01:17:46
上 传 者sh-1993
说明:  这个存储库是关于在套接字编程的帮助下将安全数据从一台计算机转移到另一台计算机...
(This repository is about transferring the secure data from one computer to another with the help of socket programming using client-server architecture. The data will be secured by implementing RSA(cryptography) Algorithm. For simplicity only 64-bit security is used unlike real implementation which uses 128-bit to 256-bit security(used by banks,...)

文件列表:
Client (0, 2022-03-31)
Client\Makefile (1124, 2022-03-31)
Client\Sources (0, 2022-03-31)
Client\Sources\client.c (2490, 2022-03-31)
Client\Sources\decryption.c (778, 2022-03-31)
Client\Sources\key_generate.c (2701, 2022-03-31)
Client\Sources\my_modular_arith.c (570, 2022-03-31)
Client\headers (0, 2022-03-31)
Client\headers\decryption.h (195, 2022-03-31)
Client\headers\key_generate.h (193, 2022-03-31)
Client\headers\my_modular_arith.h (195, 2022-03-31)
Server (0, 2022-03-31)
Server\Makefile (703, 2022-03-31)
Server\headers (0, 2022-03-31)
Server\headers\encryption.h (199, 2022-03-31)
Server\message.txt (38, 2022-03-31)
Server\sources (0, 2022-03-31)
Server\sources\encryption.c (1449, 2022-03-31)
Server\sources\server.c (3454, 2022-03-31)

# CryptographywithTCP-IP This repository is about transferring the secure data over LAN with the help of socket programming using client-server architecture. The data will be secured by implementing RSA(cryptography) Algorithm. For simplicity only ***-bit security is used unlike real implementation which uses 512-bit to 1024-bit security(used by banks,mililtary etc.). Client request for the file to server, with its name and a public key, generated by client itself. If the file is available to the server it will encrypt it with public key and send 'encrypted file' instead of original file to the client. Server in turn will decrypt the received 'encrypted file' with its own private key. Key Features and install instructions: 1. You can have client at say system-1 and Server at say system-2. 2. You can create executable by just moving to the folder and using simple 'make' command: i.e.: $ cd ~/client/ and then $ make ,same with server, move the server folder $cd ~/server/ and then $ make . 3.Next time you make any changes in the source files or header files while expermenting just run 'make' command it will handle all the hurdle of compilation but make sure 'Makefile' is not altered or removed. 4. Run 'server' excutable at system-2 with port address you want to assign for transmission. i.e.: ./server 4444 5. When server is established, Run 'client' executable on system-1 with ip-address of server, filename of requested file and port number used by server. i.e. if we consider client and server are on same system then ip would be 127.0.0.1: ./client 127.0.0.1 message.txt 4444 6. There will be a new file with filename you requested in your 'client' folder.

近期下载者

相关文件


收藏者