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