1 files changed, 2 insertions, 2 deletions
|
diff --git a/README.md b/README.md index 1cf6d21..e33c964 100644 --- a/ README.md+++ b/ README.md |
| @@ -161,7 +161,7 @@ Operation: |
| 161 | |
161 | |
| 162 | - produce a hash digest (H): H = SHA_256(N + P + R (if the length of P < L)) |
162 | - produce a hash digest (H): H = SHA_256(N + P + R (if the length of P < L)) |
| 163 | |
163 | |
| 164 | - encrypt (E): E = AES_256_CFB_ENCRYPT(H + N + P + R (if the length of P < L), K) |
164 | - encrypt (E): E = AES_256_CFB_ENCRYPT(H + N + P + R (if the length of P < L), K, IV=S) |
| 165 | |
165 | |
| 166 | - B = mpes1:BASE64_ENCODE(S + E) |
166 | - B = mpes1:BASE64_ENCODE(S + E) |
| 167 | |
167 | |
| @@ -192,7 +192,7 @@ Operation: |
| 192 | |
192 | |
| 193 | - derive the key (K): K = SHA_256(S + M) |
193 | - derive the key (K): K = SHA_256(S + M) |
| 194 | |
194 | |
| 195 | - decrypt the rest of B (D): D = AES_256_CFB_DECRYPT(B[16 :], K) |
195 | - decrypt the rest of B (D): D = AES_256_CFB_DECRYPT(B[16 :], K, IV=S) |
| 196 | |
196 | |
| 197 | - extract the first 16 bytes for the hash digest (H): H = D[0 : 15] |
197 | - extract the first 16 bytes for the hash digest (H): H = D[0 : 15] |
| 198 | |
198 | |
|