Zalvek the Cipher
https://gist.github.com/mbutler/24ba7d2b46d21aa0cef9aa760da9126d
Similar to charm.farm, This project is an experiment in creating self-contained, cryptographic game characters stored entirely within an HTML file. Each character consists of a cryptographic key pair: the public key represents the body, while the private key represents the spirit. The file includes functionality for generating, exporting, and verifying these keys, allowing the character to authenticate itself without relying on external servers or centralized verification. Instead of accounts or passwords, the character proves its identity through cryptographic challenge-response mechanisms, signing data with its private key and verifying it with the public key. To maintain continuity across updates, the file also implements self-signed versioning, where each new iteration is cryptographically linked to its previous state. This ensures that the character’s evolution remains verifiable while keeping the system entirely offline and portable. The result is a self-sovereign digital entity—one that can interact with others using standardized cryptographic proofs, all while existing as a single, standalone file.