STMF (Sovereign Form Encryption): - X25519 ECDH + ChaCha20-Poly1305 hybrid encryption - Go library (pkg/stmf/) with encrypt/decrypt and HTTP middleware - WASM module for client-side browser encryption - JavaScript wrapper with TypeScript types (js/borg-stmf/) - PHP library for server-side decryption (php/borg-stmf/) - Full cross-platform interoperability (Go <-> PHP) SMSG (Secure Message): - Password-based ChaCha20-Poly1305 message encryption - Support for attachments, metadata, and PKI reply keys - WASM bindings for browser-based decryption Demos: - index.html: Form encryption demo with modern dark UI - support-reply.html: Decrypt password-protected messages - examples/smsg-reply/: CLI tool for creating encrypted replies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
775 B
JSON
36 lines
775 B
JSON
{
|
|
"name": "@borg/stmf",
|
|
"version": "1.0.0",
|
|
"description": "Sovereign Form Encryption - Client-side form encryption using X25519 + ChaCha20-Poly1305",
|
|
"main": "dist/borg-stmf.js",
|
|
"module": "dist/borg-stmf.esm.js",
|
|
"types": "dist/borg-stmf.d.ts",
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"encryption",
|
|
"form",
|
|
"security",
|
|
"chacha20",
|
|
"x25519",
|
|
"wasm",
|
|
"privacy"
|
|
],
|
|
"author": "Snider",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Snider/Borg"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-typescript": "^11.1.0",
|
|
"rollup": "^4.0.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|