Cryptanalysis; a study of ciphers and their solution