Skip to content

picasso250/aes-note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES Note

A secure, serverless encrypted note storage service built on Cloudflare Workers with AES-GCM encryption.

Features

  • AES-GCM Encryption: All notes are encrypted using AES-GCM with SHA-256 derived keys
  • Auto-expiring: Notes automatically expire after 7 days
  • Password Protection: Use your own password or let the system generate a random one
  • Zero-knowledge: Encryption happens on the server, passwords are never stored
  • Simple Web UI: Built-in interface for easy note management

API Endpoints

POST /save

Save a new encrypted note.

Request Body:

{
  "content": "Your secret text here",
  "password": "optional-password"
}

Response:

{
  "id": "uuid",
  "password": "used-password",
  "isGenerated": true,
  "success": true
}

GET /get/:id?password=xxx

Retrieve and decrypt a note.

Parameters:

  • id: The note UUID
  • password: The password used during encryption

Deployment

  1. Install dependencies:
npm install
  1. Configure wrangler.toml with your KV namespace ID

  2. Deploy to Cloudflare Workers:

npx wrangler deploy

Tech Stack

  • Cloudflare Workers
  • Cloudflare KV
  • TypeScript
  • Web Crypto API

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors