Matlab Inexplicably turning character vector into an N*N array
as part of a course on Information Security I am implementing simple forms of encryption, in this case the shift cipher. I created a simple function to perform the encryption on plaintext and return the ciphertext.