Memory Shards

A platform for sharing self-destructing secret messages, with PIN-based encryption, brute-force protection and QR Code sharing.

Demo temporarily offlineFull-stack · security2026
Context and goal
A minimal, privacy-focused product: the user writes a secret, sets an expiration time and shares a link or QR Code.
Problem
Send sensitive information without it staying stored forever in chats and emails, and without anyone being able to guess their way in by trial and error.
Technologies
csharp.netreacttypescriptvitetiptaprest api
01 / Architecture

Architecture

  1. react · vite
  2. rest api (.net)
  3. pin + encryption
  4. expiry
  5. database
react · vite → rest api (.net)rest api (.net) → pin + encryptionpin + encryption → databaseexpiry → database

Frontend

React + TypeScript with Vite, Tiptap rich-text editor, Lucide icons and QR Code generation.

Backend

REST API in C# / .NET, with the encryption and destruction logic in the data layer.

Expiration

12 hours, 7 days or 1 month; on expiration, the data is permanently deleted from the database.

02 / Decisions

Technical decisions

And the trade-off behind each one.

  • Optional 6-digit numeric PIN: decryption only happens with the correct code.
  • Progressive backoff after 3 wrong attempts (1m, 2m, 4m, 8m…), persisted in the browser.
  • Message is blurred when the tab loses focus (protection against screen capture).
  • “Hold to reveal” was removed in favor of usability.
  • Dynamic SEO: title and description change based on the route.
03 / Challenges

Challenges faced

To be written

What were the hard problems? What didn't work on the first try?

04 / Results

Results achieved

To be written

Measured results (time, cost, users, lessons learned). Prefer numbers.