- generate matrix with the keyword and alphabet letters on it.
- split the word that we need to encrypt into pairs.
- be able to get the word that the user want to encrypt and encrpyt it .
- setup flags for the program to get user input for cli.
- Be able to encrypted word with playfair cipher.
- setup unit testing for encrpytion.
- Be able to decrypt word with playfair cipher.
- setup unit testing for decryption.
$ go mod download
$ go build .
$ ./playfaircipher -word <word to encrypt> -keyword <your keyword> -encrypt
$ ./playfaircipher -word <word to decrypt> -keyword <your keyword> -decrypt
To Run unit testing
- Run the command bellow from the root of the project .
$ go test