Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Hacspec: Executable and Verifiable Specifications for High-Assurance Cryptography

Rust via YouTube

Overview

Explore the hacspec domain-specific language for creating succinct, executable, and verifiable specifications in high-assurance cryptography. Learn about the challenges in bridging the gap between formal specifications and implementation, and discover how hacspec addresses the specification problem. Delve into the language's simple call-by-value semantics, linear typing with Rust specificities, and implementation details. Gain insights into the hacspec typechecker, programs, verification backend, and libraries. This 26-minute Rust conference talk, presented by Denis Merigoux, Franziskus Kiefer, and Karthikeyan Bhargavan, offers a comprehensive overview of hacspec's features and its potential impact on high-assurance cryptography development.

Syllabus

Intro
A tale of two worlds
Right now: the specification problem
Bringing the two worlds together
A taste of hacspec
Simple call-by-value semantics with variable context
Linear typing with Rust specificities
Implementation: AST or MIR?
The hacspec typechecker
hacspec programs
Verification backend: F
The hacspec libraries
Conclusion
The hacspec DSL - [7]

Taught by

Rust

Reviews

Start your review of Hacspec: Executable and Verifiable Specifications for High-Assurance Cryptography

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.