Perhaps the most NIH cryptographic protocol I've seen is digitally signing as well as encrypting a message  in order to store tamper resistant data without revealing its contents This is often done for storing sensitive data in cookies