Added mode for enciphering and deciphering.