Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Otro

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

Puntuación
-
Vendido
-
Páginas
19
Subido en
06-07-2026
Escrito en
2025/2026

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

Vista previa del contenido

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:

Información del documento

Subido en
6 de julio de 2026
Número de páginas
19
Escrito en
2025/2026
Tipo
OTRO
Personaje
Desconocido

Temas

$13.99
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
smartzone Liberty University
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
3388
Miembro desde
6 año
Número de seguidores
2295
Documentos
14677
Última venta
2 días hace
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 reseñas

5
271
4
96
3
108
2
32
1
105

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes