Python Sockets y Hashlibs ayuda
Publicado por Alejo (1 intervención) el 11/05/2021 17:58:03
Tengo esta tarea y no tengo demasiada experiencia en sockets y no se como enviar el form message desde el cliente.
Your task will be to create simple Client-Server communication via Sockets where Client will send the message in following form → { message,SHA_256_hash_value}. Once the server receives the message it will parse it, calculate the SHA_256 hash value of the message part and compare it with the received hash. If values are matching it will send 'OK' back to Client, else 'Message was compromised'
Your task will be to create simple Client-Server communication via Sockets where Client will send the message in following form → { message,SHA_256_hash_value}. Once the server receives the message it will parse it, calculate the SHA_256 hash value of the message part and compare it with the received hash. If values are matching it will send 'OK' back to Client, else 'Message was compromised'
Valora esta pregunta


0