plic




Use plic to send a one-time secret message.

How it works
  1. A secret key is generated and used to encrypt the message.
  2. The encrypted message is sent to the server which hashes it to generate an ID.
  3. The same hashing is performed in the browser and the ID is used to form the shareable link.
  4. The secret key is appended to the private part of the link that is never sent to the server.
  5. When a link is opened, the encrypted message is simultaneously retrieved and deleted from the server.
  6. The encrypted message is hashed to ensure it matches the ID.
  7. The secret key in the link is used to decrypt the data and the message is displayed.

Technical details along with source code are available at github.com/mohd-akram/plic.