Added basically the complete encipher functionality just to have something to build the decipher functionality on.