$ g++ HillCipher.cpp $ a.out This cipher has a key of length 9. ie. a 3*3 matrix. Enter the 9 character key. DharHingu 3 7 0 17 7 8 13 6 20 Enter the length of string to be encoded(without spaces). 10 You have to enter 2 bogus characters. Enter the string. Sanfoundry The encoded cipher is : N B W A O Q Y Y X X D O ------------------ (program exited with code: 0) Press return to continue