Skip to content

piu130/c-vigenere

Repository files navigation

c-vigenere

This is a school project.

Description can be found here. (03.01.2017)

Build

Build the vigenere executable with make.

Usage

Encrypt

$ vigenere [-e] FILENAME

Program asks for pass phrase and encrypts the file as FILENAME.encrypted

Decrypt

$ vigenere -d FILENAME.encrypted

Program asks for pass phrase and decrypts the file as FILENAME

Hack

$ vigenere -hack FILENAME FILENAME.encrypted

Program prints the used pass phrase.

Extend pass phrase limit

Pass phrase limit is set to 255. You can easily change it in vigener.h by changing MAX_PASS_LEN.