tag:blogger.com,1999:blog-6082652835152798567.post6290565989448629740..comments2024-03-28T00:58:12.736-07:00Comments on Sql server, .net and c# video tutorial: How tokens are generated and validated in asp.net coreUnknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6082652835152798567.post-46716158654022606842022-09-01T19:08:45.759-07:002022-09-01T19:08:45.759-07:00Hello there!
Perhaps someone can help me.
I have ...Hello there!<br />Perhaps someone can help me.<br /><br />I have some EmailConfirmationTokens that are failing. <br />I tried to reverse/decode the tokens to see if the containing data is correct, but ended up finding out they are "crypted".<br /><br />Viewing the source code I can see that:<br />"var protectedBytes = Protector.Protect(ms.ToArray());"<br />is crypting and:<br />"var unprotectedData = Protector.Unprotect(Convert.FromBase64String(token));"<br />decrypting.<br /><br />Now I'm curios where and what this crypting key is and where it can be found/where it's stored.<br /><br />Thanks in advance!<br /><br />Wkr. Anonymousnoreply@blogger.com