Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

CSIS 463 – Modern Cryptography |Yones Azzab| RSA Public-Key Encryption and Signature Lab Liberty University

Rating
-
Sold
-
Pages
19
Uploaded on
06-07-2026
Written in
2025/2026

CSIS 463 – Modern Cryptography |Yones Azzab| RSA Public-Key Encryption and Signature Lab Liberty University

Content preview

CSIS 463 – Modern Cryptography Yones Azzab RSA
Public-Key Encryption and Signature Lab Liberty
University



RSA Public-Key Encryption and Signature Lab


Yones Azzab


CSIS 463_B01

, RSA Public-Key Encryption and Signature Lab | 2


Introduction


The pre-built Ubuntu image and instructions from SEED Labs are used in this experiment. The

"RSA Public-Key Encryption and Signature Lab" is the specific assignment. Rivest, Shamir, and

Adleman, or RSA, invented public-key cryptosystems and is still in use today. The RSA asymmetric

algorithm produces a key value pair consisting of the public and private keys in addition to two huge,

random prime numbers. I have a better knowledge of the operation of the RSA algorithm and the public-

private key paradigm in cryptosystems as a result of doing this lab. Digital signatures and

encryption/decryption were introduced at the lab.


The SEED Labs Ubuntu 24.04 image and Oracle VirtualBox were the system requirements for

this lab. The lab was finished using a combination of Python and C programming languages. Additionally,

the lab makes use of the BIGNUMs API and OpenSSL for the various programs that must be developed.

Unlike many cryptography labs that rely on a GUI or CLI tool to carry out tasks, this lab largely relies on

programming in C utilizing the OpenSSL and BIGNUMs API.




Method


There were six tasks in this lab to be completed. I described in detail how I go about finishing

each assignment. The creation of a C program and the use of a private or public key or certificate were

prerequisites for each task.


Task 1


I started by creating a directory using mkdir and then I used vi to build a C file from the code

that was given in the first task. Then I used gcc and the crypto library to compile the code using the

following code:


Gcc -o task1 task1.c -lcrypto

, RSA Public-Key Encryption and Signature Lab | 3


I was able to become acquainted with BIGNUMs and OpenSSL as a result. I then ran the following code

to obtain the private key:

./task1


Task 2


Encrypting the message "A top secret!" was necessary for the second job. To convert ASCII to

hex, the lab provides a Python tool. I used this command to convert the hex to a BIGNUM in my C

program. I used Python to produce the hex first:

Python3 -c ‘print(b“A top secret!”.hex())’


Since I was using Python3, I had to do some searching to figure out how to use the hex. I used a guide I

found on stackoverflow (Python 3 String to Hex, n.d.) to assist me with this part. Then I used gcc and

the crypto library to compile the code and ran the output once again. This resulted in an encrypted and

decrypted message.


Task 3


The only difference between the third task and the second one was that in this one the program

created for the second task required encryption. This was done using the vi function to edit the code

from the last task. I compiled and ran the code to get the decrypted message. I then used Python to

translate the decrypted message back to ASCII using the following command:

Python3 -c ‘print(b”A top secret!”.hex())’


Task 4


Beyond the encryption and decryption of the previous processes, there was more to the fourth

task. The message has to be signed in order to complete this task. First, I used Python to produce hex

from the provided value:

Document information

Uploaded on
July 6, 2026
Number of pages
19
Written in
2025/2026
Type
OTHER
Person
Unknown

Subjects

$13.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
smartzone Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
3388
Member since
6 year
Number of followers
2295
Documents
14677
Last sold
2 days ago
AMAIZING EDUCATION WORLD

GET ALL KIND OF EXAMS ON THIS PAGE ,COMPLETE TEST BANKS,SUMMARIES,STUDY GUIDES,PROJECT PAPERS,ASSIGNMENTS,CASE STUDIES, YOU CAN ALSO COMMUNICATE WITH THE SELLER FOR ANY PRE-ORDER,ORDER AND ETC.

3.6

612 reviews

5
271
4
96
3
108
2
32
1
105

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions