Encrypt Secret Messages to be Unlockable Under the Right Environmental Conditions

https://hackster.imgix.net/uploads/attachments/1956528/_7aPyVpQsYG.blob?auto=compress%2Cformat&w=600&h=450&fit=min

We all love the idea of secret messages encrypted in ways that are only decipherable through elaborate means — escape rooms and movies like The DaVinci Code and National Treasure rely almost entirely on that idea. Practical encryption in the real-world doesn’t work like that; a shared encryption key, for example, is just a boring string of random alphanumeric characters. This project from Tim C changes that by encrypting secret messages with keys derived from environmental data.

Modern encryption algorithms rely on cryptographic keys. You either have a single key that does both the encryption and decryption, or a two-key system with a public key for encryption and private key for decryption. It is kind of like the classic Caesar cipher, but with far more complex rules that change and those changing rules get stored as a key that looks like a random, meaningless set of characters.

In this...

Copyright of this story solely belongs to hackster.io. To see the full text click HERE