Skip to main content

A tool for checking transitions in cryptographic game-hopping proofs

Project description

ProofFrog logo

ProofFrog

Tests PyPI Python License: MIT

A tool for checking transitions in cryptographic game-hopping proofs.

ProofFrog checks the validity of game hops for cryptographic game-hopping proofs in the reduction-based security paradigm: it checks that the starting and ending games match the security definition, and that each adjacent pair of games is either interchangeable (by code equivalence) or justified by a stated assumption. Proofs are written in FrogLang, a small C/Java-style domain-specific language designed to look like a pen-and-paper proof. ProofFrog can be used from the command line, a browser-based editor, or an MCP server for integration with AI coding assistants. ProofFrog is suitable for introductory-level proofs, but is not as expressive for advanced concepts as other verification tools like EasyCrypt and lacks comparable levels of assurance.

ProofFrog web interface

Installation

Requires Python 3.11+.

From PyPI

python3 -m venv .venv
source .venv/bin/activate
pip install proof_frog

After installing, download the examples repository:

proof_frog download-examples

From source

git clone https://github.com/ProofFrog/ProofFrog
cd ProofFrog
git submodule update --init
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Documentation

Full documentation is available at prooffrog.github.io, including:

License

ProofFrog is released under the MIT License.

Acknowledgements

ProofFrog was created by Ross Evans and Douglas Stebila, building on the pygamehop tool created by Douglas Stebila and Matthew McKague. For more information about ProofFrog's design, see Ross Evans' master's thesis and eprint 2025/418.

ProofFrog's syntax and approach to modelling is heavily inspired by Mike Rosulek's excellent book The Joy of Cryptography.

We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC).

NSERC logo

Includes icons from the vscode-codicons project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proof_frog-0.5.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proof_frog-0.5.0-py3-none-any.whl (676.3 kB view details)

Uploaded Python 3

File details

Details for the file proof_frog-0.5.0.tar.gz.

File metadata

  • Download URL: proof_frog-0.5.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.33.1

File hashes

Hashes for proof_frog-0.5.0.tar.gz
Algorithm Hash digest
SHA256 39197114f2deda161e6d32dc3c6d69e43e45d978e6c3b66f62fffdf45ed653c1
MD5 952e512d15ca4f705c95fa0b618cb317
BLAKE2b-256 066ce7e0df6c5a32d60540481864c4b204ce27365ede20be90af290d5202e1a3

See more details on using hashes here.

File details

Details for the file proof_frog-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: proof_frog-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 676.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.33.1

File hashes

Hashes for proof_frog-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 162e52893040c035af0f087635f62d5178ddf97651372440245f17c3b774b434
MD5 b79f1ee2c608df4561d3945c7f87f1cd
BLAKE2b-256 1a72afae206535ba1ca4d188670c4349152cd960f131d8898bd47d4695e72687

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page