Skip to content

pedrobonifacio/Substitution---The-encryption-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Substitution - The encryption algorithm

Encryption algorithm in C.

Harvard CS50 course exercise.

To compile you must run make substitution or clang -ggdb3 -O0 -std = c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow substitution.c - lcrypt -lcs50 -lm -o substitution.

You must put a key of 26 non-repeated characters in the argument, it can be uppercase or lowercase.

Example:

$ ./substitution VchPRZGJnTLsKFBDqWAXeUYMOi
plaintext:  Hello, World!
ciphertext: Jrssb, Ybwsp!

About

encryption algorithm in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages