2
我試圖通過檢查示例C#代碼來實現一個AES算法作爲PHP。但我不能運行這個構造後發現Rfc2898DeriveBytes類的iterationCount屬性的默認值:什麼是Rfc2898DeriveBytes類的iterationCount屬性的默認值
Rfc2898DeriveBytes k2 = new Rfc2898DeriveBytes(pwd1, salt1);
構造函數的定義是:
Rfc2898DeriveBytes(String, Int32)
和所有我發現是:https://msdn.microsoft.com/en-us/library/1bah3ekk(v=vs.100).aspx
你能幫我學習它是什麼嗎?
http://referencesource.microsoft.com/#mscorlib/system/security/cryptography/rfc2898derivebytes.cs,46 –