A cipher is a process to convert data into code, or encrypt, with the help of an algorithm; to decipher the code a key is required.