I referenced the following sites for hashing implementations of Rijndael and Asp.net at the following URL.
As in the implementation, the following is used to obtain random bytes for the password. Rijndael
Rfc2898DeriveBytes pdb = new Rfc2898DeriveBytes(password, SALT);
Hashing Asp.net Identifiers
Rfc2898DeriveBytes bytes = new Rfc2898DeriveBytes(providedPassword, salt, HasingIterationsCount)
After the above code, RijnDael applies encryption to the returned bytes. But asp.net identifier copies the result in the same way as with an array of cellular bytes, and returns hashed keys.
Here I had a confusion. RijnDael and Asp.net identifier hashes use the same Rfc2898DeriveBytes .
When RijnDael can decrypt encrypted keys (which is done using Rfc2898DeriveBytes), why can we make it possible to decrypt hashed keys of Asp.net Identity?
Is there any way to do this? Is Asp.net ID Safe?
source share