(1) Changed to byte based input and output. Added byte to word functions. Now the cipher model works.