From e2df73b0ac556a41d5d1b930f10e3e0498b82c21 Mon Sep 17 00:00:00 2001 From: aawsome <37850842+aawsome@users.noreply.github.com> Date: Fri, 17 Feb 2023 10:07:53 +0100 Subject: [PATCH] Update doc/design.rst Co-authored-by: greatroar <61184462+greatroar@users.noreply.github.com> --- doc/design.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/design.rst b/doc/design.rst index dde1d2984..06f0cbf3c 100644 --- a/doc/design.rst +++ b/doc/design.rst @@ -45,12 +45,12 @@ comparing its output to the file name. If the prefix of a filename is unique amongst all the other files in the same directory, the prefix may be used instead of the complete filename. -Apart from the files stored within the ``keys`` and ``data``directories, +Apart from the files stored within the ``keys`` and ``data`` directories, 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 code (sometimes also referred to as a "signature"). 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 (IV) is stored. It is followed by the encrypted data and completed by