PBKDF2 in Bouncy Castle C#
问题 I've being messing around the C# Bouncy Castle API to find how to do a PBKDF2 key derivation. I am really clueless right now. I tried reading through the Pkcs5S2ParametersGenerator.cs and PBKDF2Params.cs files but i really cant figure out how to do it. According to the research I have done so far, PBKDF2 requires a string (or char[]) which is the password, a salt and an iteration count. So far the most promising and most obvious i've come so far is the PBKDF2Params and