aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-04-27 19:19:23 +0300
committerYigit Sever2021-04-27 19:19:23 +0300
commitbe79acfa144dc986fdbefecb312cce33eb5fefb8 (patch)
treeaa7bddf33f18b1e765dea9f95cdee48c56f339b6
parentc56847af3808311ca64baa8a56b45f3061622235 (diff)
downloadgradecoin-site-be79acfa144dc986fdbefecb312cce33eb5fefb8.tar.gz
gradecoin-site-be79acfa144dc986fdbefecb312cce33eb5fefb8.tar.bz2
gradecoin-site-be79acfa144dc986fdbefecb312cce33eb5fefb8.zip
Typo
-rw-r--r--content/register_docs.md2
1 files changed, 1 insertions, 1 deletions
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
25> Since we are working with AES-128, both key and IV should be 128 bits (or 32 hexadecimal characters) 25> Since we are working with AES-128, both key and IV should be 128 bits (or 32 hexadecimal characters)
26 26
27- Pick a short temporary key (`k_temp`) 27- Pick a short temporary key (`k_temp`)
28- 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`)). 28- 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)).
29 29
30## Encryption 30## Encryption
31- 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. 31- 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.