Cryptography Assignment I In this assignment, you will be implementing a simple encryption and decryption system using basic cryptographic concepts we have discussed in class. You will use classic and stream ciphers concepts to build this system. Please follow the guidelines below for each part of the assignment. Part 1: Key Generation Objective: Create a secure method to generate a 128-bit key with true randomness and uniform distribution. Details: • The key generation program should work from the command line and accept one parameter: the name of the resulting key file. • This program could be a C, C++, Python or shell script (your choice). • Use a secure method to generate 128 truly random and uniformly distributed bits. • It is permissible to use OpenSSL from a shell script for key generation. • The key file should be in binary format and contain exactly 16 bytes (128 bits).
Cryptography Assignment I In this assignment, you will be implementing a simple encryption and decryption system using basic cryptographic concepts we have discussed in class. You will use classic and stream ciphers concepts to build this system. Please follow the guidelines below for each part of the assignment. Part 1: Key Generation Objective: Create a secure method to generate a 128-bit key with true randomness and uniform distribution. Details: • The key generation program should work from the command line and accept one parameter: the name of the resulting key file. • This program could be a C, C++, Python or shell script (your choice). • Use a secure method to generate 128 truly random and uniformly distributed bits. • It is permissible to use OpenSSL from a shell script for key generation. • The key file should be in binary format and contain exactly 16 bytes (128 bits).
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images