Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Pbkdf2() [6/6]

static byte[] System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2 ( string password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm,
int outputLength )
inlinestatic

Definition at line 325 of file Rfc2898DeriveBytes.cs.

326 {
327 if (password == null)
328 {
329 throw new ArgumentNullException("password");
330 }
331 if (salt == null)
332 {
333 throw new ArgumentNullException("salt");
334 }
335 return Pbkdf2(password.AsSpan(), new ReadOnlySpan<byte>(salt), iterations, hashAlgorithm, outputLength);
336 }
static byte[] Pbkdf2(byte[] password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm, int outputLength)

References System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2().