I need to store a hash of a single password in a .Net WinForms application.
What's the most secure way to do this?
In particular:
- Salt, HMAC, or both?
- How much salt?
- How many iterations?
- What encoding? (The password is plain ASCII)
I assume that the algorithm should be either SHA512 or HMACSHA512.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…