I need a python developer

Închis Postat la acum 1 an S-au achitat serviciile după ce au fost prestate
Închis

Implement Simulation of TLS

In this assignment, the task is to implement a simulation of TLS in any coding language of your choice, including the two key exchange methods (RSA and Diffie-Hellman). The implementation is only a simulation of what happens in real-life. You can use variables, classes, methods to represent the operations done by the client and the server. No actual deployment of websites is necessary.

The TLS handshake required to be implemented will proceed as follows.

The client generates a nonce of size 32 bytes. You may use an existing random number generator or library for this step. The client sends the nonce to the server along with a flag that is set to 1 if RSA will be used for key exchange, and set to zero if Diffie-Hellman will be used. You may randomly set this flag.

The server responds with another nonce of size 32 bytes and a flag indicating the choice of key exchange algorithm. You may randomly generate the nonce as in Step 1 and randomly generate the choice of key exchange algorithm as well.

The server randomly generates a pair of RSA public/private keys and sends to the client {public key, hash(public key)}. This constitutes the certificate. You may use libraries for key generation and hashing.

Upon receiving this certificate, the client re-hashes the public key and compares with the hash that is sent. If they match the client proceeds to Step 5. Otherwise, the process ends here with an error message.

The client proceeds with exchanging the pre-master secret (PS) depending on whether RSA or Diffie-Hellman were chosen in Step 2. The details of this step are in the lecture slides. You may use libraries to generate all keys and calculate all RSA/Diffie-Hellman values in this step.

Once both sides calculate PS, they use it along with the first two nonces as a seed to a pseudorandom number generator to generate the 4 communication keys. You are free to implement this step in any way using libraries. Let’s call the 4 keys {CC, IC, CS, IS}, representing the encryption key of the client, CC, the MAC key of the client, IC, the encryption key of the server CS, and the MAC key of the server, IS.

The client the sends the server hash(nonce_client, nonce_server, premaster secret, CC, IC). The server sends to the client hash(nonce_client, nonce_server, premaster secret, CS, IS). Each side will verify the values they received and print either a success or failure message.

Note that to simulate the process of sending anything between two entities, you may just assume that the values being sent (for example if you code them as variables) become available at the receiving side. This can be simulated for example by passing parameters to a method or function or simply just using the variables in the sequence of operations. No actual communication (for example using socket programming or otherwise) is required.

Submit a code that runs and prints all steps of this dialogue in the console.

Python Arhitectură software Programare C Linux Java

ID Proiect: #35656897

Detalii despre proiect

16 propuneri Proiect la distanță Activ acum 1 an

16 freelanceri plasează o ofertă medie de 10$/oră pentru proiect

workspaceit

We are a leading software development company that has completed more than 411 projects all over the world and won prestigious awards on international and national scale. We have multiple offices and clients worldwide. Mai multe

$5 USD / oră
(9 recenzii)
6.5
divumanocha

SPECIALISED IN PYTHON AND IT'S FRAMEWORKS Hi, Greetings! I am an intermediate developer available on an immediate basis with 4 years of experience in Python. ? Deep Learning with Tensorflow, Keras ? Python and its Mai multe

$9 USD / oră
(8 recenzii)
5.4
karambis

Hello, I am interested in your project. Please contact me for further details.

$5 USD / oră
(31 recenzii)
5.1
ahmed4499

Hello bro , I have master degree in cryptography and I am certified labview architect and developer so i can make it using labview as it allowed any programming languages.. thx

$5 USD / oră
(11 recenzii)
4.8
Appslobby789

Hi there, I have read the complete job post an understand the task. I can assist you with the same as I am expert in Python, Web Development (Django, Flask) I have also knowledge about javascript, AJAX, JQuery, Boots Mai multe

$20 USD / oră
(2 recenzii)
4.8
anushka03367

Hello I can do this. Please share the details of the task so that I can check and confirm accordingly.

$20 USD / oră
(5 recenzii)
4.7
QuAppo

I can simulate TLS using python and OOP. You can just run the program and specify parameters if you want. I am well experienced on python and simulations. I know the basics of communication protocols and I am ready to Mai multe

$4.5 USD / oră
(12 recenzii)
4.0
baouchx22

Hi am a python developer I have experience on it I can help you in this project contact me if you need anything

$5 USD / oră
(0 recenzii)
0.0
muhzainjaved

Hi, We would like to grab this opportunity and will work till you get 100% satisfied with our work. We are an expert team which have many years of experience on Python Please come over chat and discuss your requirem Mai multe

$5 USD / oră
(0 recenzii)
0.0
haroonrehman6

I have completed some projects, see my GitHub Profile for that This can be done Python has sufficient library for that. Contact me if you like to work on.

$20 USD / oră
(0 recenzii)
0.0
Asiensetech

Having analyzed your project, we understand your requirements and can materialize your dream project into reality through our expertise. As per your requirements, we have proposed an initial timeline & budget and antic Mai multe

$7.5 USD / oră
(0 recenzii)
0.0