← All repos

hacl-star

HACL*, a formally verified cryptographic library written in F*

cryptographyeverestformal-methodsformal-verificationhaclhigh-performanceinriasecurityverificationverified-primitives
Browse cluster: Lean4 Formal Verification & Cryptography
19,000commits
94contributors
11languages

Tech stack & purpose

HACL* is a formally verified cryptographic library written in F*, a verification framework, that implements modern cryptographic algorithms including Curve25519, Ed25519, AES-GCM, Chacha20, Poly1305, SHA-2, SHA-3, HMAC, and HKDF. The code is compiled to C using KaRaMeL and verified for memory safety, functional correctness, and secret independence to resist timing side-channels. The project is developed at INRIA as part of Project Everest and includes contributions from researchers at Microsoft Research and Carnegie Mellon University, with related sub-projects ValeCrypt (verified assembly implementations) and EverCrypt (a multiplexing cryptographic provider combining HACL* and ValeCrypt with CPU autodetection).

Languages

F*
78.3%
C
18.9%
Python
0.8%
Makefile
0.7%
Assembly
0.4%
Shell
0.3%
OCaml
0.3%
C++
0.2%
Nix
0.1%
Dockerfile
0.0%
Batchfile
0.0%

Contributors (top 30 of 94)