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).

icon
Related questions
Question
12:12 1
◄ Safari
description
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
Done
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).
Usage:
Transcribed Image Text:12:12 1 ◄ Safari description 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 Done 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). Usage:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer