Update doc/design.rst

Co-authored-by: greatroar <61184462+greatroar@users.noreply.github.com>
This commit is contained in:
aawsome 2023-02-17 10:07:53 +01:00 committed by GitHub
parent f4329a20f6
commit e2df73b0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ all files are encrypted with AES-256 in counter mode (CTR). The integrity
of the encrypted data is secured by a Poly1305-AES message authentication of the encrypted data is secured by a Poly1305-AES message authentication
code (sometimes also referred to as a "signature"). code (sometimes also referred to as a "signature").
Files in the ``data`` directory ("pack files") consist of multiple parts Files in the ``data`` directory ("pack files") consist of multiple parts
which are all independently enccrypted and authenticated, see below. which are all independently encrypted and authenticated, see below.
In the first 16 bytes of each encrypted file the initialisation vector In the first 16 bytes of each encrypted file the initialisation vector
(IV) is stored. It is followed by the encrypted data and completed by (IV) is stored. It is followed by the encrypted data and completed by