diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-03-23 20:04:22 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-03-23 20:04:22 +0100 |
| commit | d1bc581b1923537e7410254d91890565f08d50ca (patch) | |
| tree | 826162e6c1e9a929d0a0855d79adaecda6525cf8 /src | |
| parent | c0d7ffb343d38a301773ea49975de6c54c91e264 (diff) | |
| download | lilliput-ae-implem-d1bc581b1923537e7410254d91890565f08d50ca.tar.xz | |
[implem-python] Documentation du paquet "lilliput"
Diffstat (limited to 'src')
| -rw-r--r-- | src/add_python/lilliput/__init__.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/add_python/lilliput/__init__.py b/src/add_python/lilliput/__init__.py index 5fbc0de..b1bad58 100644 --- a/src/add_python/lilliput/__init__.py +++ b/src/add_python/lilliput/__init__.py @@ -1,3 +1,29 @@ +# Implementation of the Lilliput-AE tweakable block cipher. +# +# Authors, hereby denoted as "the implementer": +# Kévin Le Gouguec, +# Léo Reynaud +# 2019. +# +# For more information, feedback or questions, refer to our website: +# https://paclido.fr/lilliput-ae +# +# To the extent possible under law, the implementer has waived all copyright +# and related or neighboring rights to the source code in this file. +# http://creativecommons.org/publicdomain/zero/1.0/ + +"""Lilliput-AE tweakable block cipher. + +This module provides the high-level functions for authenticated encryption and +decryption. Both functions take and return bytestring values. + +The "mode" argument can be either of the following integers: + +- 1, for the ΘCB3 nonce-respecting mode, +- 2, for the SCT-2 nonce-misuse-resistant mode. +""" + + from . import lilliput_ae_1 from . import lilliput_ae_2 from .constants import NONCE_BYTES |
