From be79acfa144dc986fdbefecb312cce33eb5fefb8 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 27 Apr 2021 19:19:23 +0300 Subject: Typo --- content/register_docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/register_docs.md') diff --git a/content/register_docs.md b/content/register_docs.md index 45938e3..9f5596e 100644 --- a/content/register_docs.md +++ b/content/register_docs.md @@ -25,7 +25,7 @@ This is enforced with your Student ID (e123456) and a one time password you rece > Since we are working with AES-128, both key and IV should be 128 bits (or 32 hexadecimal characters) - Pick a short temporary key (`k_temp`) -- Pick a random IV ([1](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Initialization_vector_(IV))) ([2](https://en.wikipedia.org/wiki/Initialization_vector) (`iv`)). +- Pick a random IV `iv` ([1](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Initialization_vector_(IV))) ([2](https://en.wikipedia.org/wiki/Initialization_vector)). ## Encryption - Encrypt the serialized string of `P_AR` with 128 bit block [AES](https://en.wikipedia.org/wiki/Initialization_vector) in [CBC](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#CBC) mode with [Pkcs7 padding](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Padding) using the temporary key (`k_temp`), the result is `C_AR`. Encode this with base64. -- cgit v1.2.3-70-g09d2