| When you run: npx enstash "my secret" Stasher performs everything locally: Generates a random 256-bit encryption key Encrypts your secret using AES-256-GCM Sends only: the ciphertext the IV (initialization vector) the auth tag a randomly generated UUID The encryption key is never sent to the server. It never leaves your machine. You are then shown a single string: uuid:base64key The uuid points to the encrypted stash on the server The base64key is the encryption key you just generated Only the person who has both parts can decrypt the secret How You Share the Secret You send the full uuid:base64key token to your recipient — over any channel you like slack or whatever. When they run: npx destash "uuid:base64key" on the token Stasher: Fetches the encrypted stash using the uuid Deletes it immediately (burn-after-read) Decrypts it locally using the base64key Shows the secret The server never sees the key. Not during upload or during retrieval. |
>The uuid points to the encrypted stash on the server
No servers… “on the server.” hmmm, I must be missing something.