AES-GCM Text Encryption Utility & API
A secure, serverless-ready web application and API for encrypting and decrypting text payloads using standard-compliant authenticated encryption.
Spudcrypt is a streamlined encryption tool that provides both a browser-based frontend and native REST endpoints. It is designed to secure text using Advanced Encryption Standard in Galois/Counter Mode (AES-GCM), backed by Scrypt key derivation to protect against brute-force attacks.
- Authenticated Encryption: Utilizes AES-GCM to ensure both confidentiality and data integrity.
- Robust Key Derivation: Employs the Scrypt KDF (
N=2^14, r=8, p=1) with a randomly generated 16-byte salt per encryption. - Custom Serialization: Outputs a strictly formatted string containing all necessary parameters (salt, nonce, tag, ciphertext) for decryption.
- Serverless Architecture: The backend utilizes Python's
BaseHTTPRequestHandler, making it fully compatible with serverless deployment platforms like Vercel. - Responsive Frontend: Clean, zero-dependency HTML/CSS/JS interface using a glassmorphism design system.
Encrypted outputs are serialized into a proprietary string format required for decryption. The structure utilizes specific delimiters and emojis as strictly defined by the backend regex pattern:
🥔SPUD~[SALT_HEX]~[NONCE_HEX]~[TAG_HEX]~[CIPHERTEXT_HEX]🍟