Skip to content

Commit

Permalink
Readme missed hash key
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdaybird committed Sep 23, 2024
1 parent 95368ab commit 88cb9ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/encryption/symmetric/modes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ X_{i} =
\end{cases}
$$

$B_{i}$ represents blocks of AAD followed by blocks of ciphertext followed by special length block.
$B_{i}$ represents blocks of AAD followed by blocks of ciphertext followed by a special length block.
The length block consists of 64-bit lengths(in bits) of AAD and ciphertext.
$H$ called the hash key, is the encryption of 128-bit of zeros using the chosen cipher and key.

The interesting thing to note here is that the multiplication($*$) and addition($\oplus$) are operations of the Galois(finite) field of order $2^{128}$.
A brief summary of finite field arithmetic,
Expand Down

0 comments on commit 88cb9ed

Please sign in to comment.