The term cipher ( sometimes cypher ) is often used to refer to a pair of ( encryption\/decryption ) algorithms . The term cipher ( sometimes cypher ) is often used to refer to a pair of algorithms , one for encryption and one for decryption .