From 2bdb768bda26bcf5cff1ab7e7782f260c8179761 Mon Sep 17 00:00:00 2001 From: Donovan Date: Wed, 7 Aug 2024 12:27:41 -0500 Subject: [PATCH] fix decipher bullet points --- docs/nkode_authentication_template.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/nkode_authentication_template.md b/docs/nkode_authentication_template.md index b0a8af6..d7b03b1 100644 --- a/docs/nkode_authentication_template.md +++ b/docs/nkode_authentication_template.md @@ -283,11 +283,14 @@ success = api.login(customer_id, username, selected_keys_login) - encipher, salt, and hash presumed attribute values and compare them to the users hashed code #### Decipher Mask + Recall: + - set_key_i = (set_key_rand_numb_i ^ set_val_i) - mask_i = mask_key_rand_num_i ^ set_key_rand_numb_i Recover nKode set values: + - decode mask from base64 to int - deciphered_mask = mask ^ mask_key - deciphered_mask_i = set_key_rand_numb # mask_key_rand_num_i is cancelled out