# GaloisInc/cryptol

Cryptol: The Language of Cryptography

Repository: https://github.com/GaloisInc/cryptol
Canonical: https://ross.abutalabs.com/products/cryptol
Homepage: https://galoisinc.github.io/cryptol/master/RefMan.html
Language: Haskell
License: BSD-3-Clause
License Family: permissive
Last push: 2026-09-03T00:12:25+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 44, longevity 100
- inputs: {"age_days": 4521, "days_push": 0, "days_rel": 217, "gap_med": 154.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1220, forks 129 (observed 2026-09-03T02:15:05.960292+00:00)

## What it is
Cryptol is a domain-specific language and interpreter for specifying cryptographic algorithms, developed by Galois. It provides an executable REPL with property-based testing (`:check`) and SMT-backed formal proving (`:prove`) of cryptographic specifications.

## Use cases
- write executable specifications of cryptographic algorithms
- prove properties of a cipher implementation with an SMT solver
- randomly test cryptographic predicates against generated vectors
- formally document a cryptographic module
- verify that an implementation matches its reference spec

## When to choose
- you need a formal, executable specification language for cryptography
- you want machine-checked proofs of crypto properties via Z3/Yices/CVC
- you are designing or auditing cryptographic algorithms

## When to avoid
- you need a general-purpose programming language
- you want a high-performance production crypto library rather than a specification tool
- you are not working with cryptographic or bit-vector-level algorithms

## Facets
- artifact type: cli-tool
- maturity: active
- function: interpreter, testing, programming-language, cryptography
- domain: security, programming-languages
- platform: windows, cli
- tags: cryptol, smt-solvers, formal-specification, quickcheck, haskell, formal-verification, interpreter, cryptography, linux, macos

## Member repositories
- GaloisInc/cryptol (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:05.960292+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:21.332358+00:00, confidence not recorded.
  - readme: https://github.com/GaloisInc/cryptol (fetched 2026-09-03T02:15:05.960292+00:00, sha b53b418d633d)
  - homepage: https://galoisinc.github.io/cryptol/master/RefMan.html (fetched 2026-08-29T12:24:24.241404+00:00, sha 47d7aa6393d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
