c# - Hashed password recovery -
i'm coding using mvc 5 template. password hashed. want recover password can email if person has forgotten his/her password. tips on hashed password recovery?
your approach fundamentally wrong!
a hashed password can't "unhashed", whole point of hash. take, example, sum of digit in math: 435 -> 4+3+5 = 12
here, 435 password , 12 hash. hashing same number way give same result every time. however, can not go backwards, 12 could've been made other combinations (9+3, 2+2+2+2+2+2, ...).
you use rainbow tables, trying hack yourself. that's not want do. want instead give user way reset password. send them link can that.
Comments
Post a Comment