in reply to Difference between encoding and encryption?
It's a very similar destinction. Code usually refers to a one-to-one relationship between the plaintext and the encoded text: for example, in Morse, a dot is ALWAYS an e, in hex, deadbeef is always 3735928559, in a URL %21 always means a bang (!) and in Caesar type encoding, for the keyword NIGHT an A will always mean F.
In cipher, there is no such correspondance.
Eight years involved with the nuclear industry have taught me that when nothing can possible go wrong and every avenue has been covered, then is the time to buy a house on the next continent. Terry Pratchett