Created
August 4, 2019 14:50
-
-
Save tansly/ae660ec46d8d0470acd59fb36da6f486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "vigenere.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#define TEXT "VRJIF XTUOT WBBNH RVCMO XFRET ABQXV FLHDG ROIEI ZQJTR LAUTC ELXMC UAWLW AYIOX JAIEI BHBWD PSVJX FRGXV FPNWN YXNGS KMPAI QTBTT RNBPJ SYWGU LPBVG BIVBH TNRWB IGAWV BZGLW MMYJN WBBTG RPYNY IUNHA EFEGW FLTRS FXEPS FXART NWCYO JNTXC FXAQM ICAMG OKCUF MLTSZ FIPIU VRTNL OCBTI GQHVO FRPBJ EHHHY ZUHVP BBUIH DARVW GEEEC HTHZV OACSG MZXHF BAIRW FMGOE FXYZO GELPI UIQRR BMTHA UBSLE OSSAH X" | |
#define KEY "FXAAA" | |
int main(int argc, char **argv) | |
{ | |
char text[] = TEXT; | |
char key[] = KEY; | |
decipher(text, key); | |
puts(text); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment