so I need to encrypt and decrypt using this codebook.
cijuskla....t, there are 26 of them. so c becomes a and i becomes b and j becomes c...and t becomes z.
I have a same set for the capital letters.
The first thing that pop into my head was using endless else if.
for(int i = 0; i < input.length(); i++) {
if input.charAt[i] == 'a' {
input.charAt[i] == 'c' }
else if input.charAt[i] ==
is there a better way to do it I'm missing??