Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/tests.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ exclude = examples/MEE-CBC examples/old examples/old/list-ddh !examples/incomple
[test-mee-cbc]
okdirs = examples/MEE-CBC

[test-tutorials]
okdirs = !doc/tutorials

[test-unit]
okdirs = tests tests/exception
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'EasyCrypt refman'
project = 'EasyCrypt Documentation'
copyright = '2026, EasyCrypt development team'
author = 'EasyCrypt development team'

Expand Down
5 changes: 3 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
EasyCrypt reference manual
EasyCrypt Documentation
========================================================================

.. toctree::
:maxdepth: 2

tactics
tutorials
reference
8 changes: 8 additions & 0 deletions doc/reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Reference Material
========================================================================

.. toctree::
:maxdepth: 1
:glob:

reference/*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions doc/tutorials.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Tutorials
========================================================================

.. toctree::
:maxdepth: 0
:glob:

tutorials/tutorials.rst
tutorials/introduction-itp-program-logics.rst
tutorials/encryption-from-prf.rst
16 changes: 16 additions & 0 deletions doc/tutorials/encryption-from-prf.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Encryption from a PRF
=====================

As a warm-up, we’ll consider a simple nonce-based symmetric encryption
scheme for fixed-length messages. [1]_ Here, we assume some familiarity
with cryptographic definitions and proofs, but not with the specific
definitions and proofs used in this tutorial.

You may find it beneficial to step through the `proof
file </docs/tutorials/encryption-from-prf/Construction.eca>`__ as you
read through the basic tutorial. The “Going Further” tutorials each come
with their own proof files, referred to where relevant.

.. [1]
Note the similarities to The Joy of Cryptography’s `Construction
7.4 <https://joyofcryptography.com/pdf/chap7.pdf#page=7>`__.
Loading
Loading