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

◆ Pbkdf2() [1/6]

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

Definition at line 286 of file Rfc2898DeriveBytes.cs.

287 {
288 if (password == null)
289 {
290 throw new ArgumentNullException("password");
291 }
292 if (salt == null)
293 {
294 throw new ArgumentNullException("salt");
295 }
296 return Pbkdf2(new ReadOnlySpan<byte>(password), new ReadOnlySpan<byte>(salt), iterations, hashAlgorithm, outputLength);
297 }
static byte[] Pbkdf2(byte[] password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm, int outputLength)

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

Referenced by System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(), and System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2().