cryptograph

nouns

a secret method of writing
a piece of writing in code or cipher
a device for deciphering codes and ciphers
is a type of (narrower)
an instrumentality invented for a particular purpose
"the device is small enough to wear on your wrist"; "a device intended to conserve water"