= null; MemoryStream ms = null; CryptoStream cs = null; string str = null; try { Rfc2898DeriveBytes rfc2898 = null; MemoryStream ms = null; CryptoStream cs = null; string str = null; try { Rfc2898DeriveBytes rfc2898
参考标准:rfc6070,rfc2898 我们看一下django中关于PBKDF2的代码:utils/crypto.py def pbkdf2(password, salt, iterations, dklen
n |= (b1[bi + 3] & 0xff) << 24; return n; } /** * Implementation of PBKDF2 (RFC2898