TripleDES

< Go back

A Triple DES implementation in C. With a menu driven terminal program to encrypt and decrypt files.

Build

git clone https://github.com/JasirZaeem/TripleDES
cd TripleDES
gcc des.c -o des

Usage

./des

Output Menu

==================================================
File Encryption and Decryption
in C using Triple DES
==================================================
Select one of the following:
==================================================
1. Encrypt file
2. Decrypt file
3. Exit

============================================================
Enter a number: 
Contact
220 smtp.example.com ESMTP Postfix
HELO client.example.com
250 smtp.example.com
MAIL FROM: <me@mydomain.com>
250 Ok
RCPT TO: <hi@zaeem.dev>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: "Me" <me@mydomain.com>
To: "Jasir" <hi@zaeem.dev>
Date: $Tue, 16 Sep 2025 17:17:43 GMT
Subject: Complaint Mail

Hi Jasir,
Your site gave me a virus. I am very upset.
Yours truly,
Me
.
250 Ok: queued as 12345
QUIT
221 Bye

Say Hi!

You can reach me at mailto:hi@zaeem.dev

Site best viewed at 1920x1080 in Your Browser