In 1655 an astronomer discovered Saturn's moon Titan. He wasn't sure of his observation but wanted to preserve his priority. So he scrambled text of his discovery in an order only he knew (a private key) and published the resulting gibberish. In this way he made it possible to verify himself later as an author of the discovery. Maybe not a very strong encryption by today's standards, but good enough for the time.