- </member>
- <member name="M:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.Byte[],System.Byte[],System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)">
- <summary>Creates a PBKDF2 derived key from password bytes.</summary>
- <param name="password">The password used to derive the key.</param>
- <param name="salt">The key salt used to derive the key.</param>
- <param name="iterations">The number of iterations for the operation.</param>
- <param name="hashAlgorithm">The hash algorithm to use to derive the key.</param>
- <param name="outputLength">The size of key to derive.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="password" /> or <paramref name="salt" /> is <see langword="null" />.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="outputLength" /> is not zero or a positive value.
-
--or-
-
-<paramref name="iterations" /> is not a positive value.</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> that is empty or <see langword="null" />.</exception>
- <exception cref="T:System.Security.Cryptography.CryptographicException">
- <paramref name="hashAlgorithm" /> is an unsupported hash algorithm. Supported algorithms are <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA1" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA256" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA384" />, and <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA512" />.</exception>
- <returns>A byte array containing the created PBKDF2 derived key.</returns>
- </member>
- <member name="M:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)">
- <summary>Creates a PBKDF2 derived key from password bytes.</summary>
- <param name="password">The password used to derive the key.</param>
- <param name="salt">The key salt used to derive the key.</param>
- <param name="iterations">The number of iterations for the operation.</param>
- <param name="hashAlgorithm">The hash algorithm to use to derive the key.</param>
- <param name="outputLength">The size of key to derive.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="outputLength" /> is not zero or a positive value.
-
--or-
-
-<paramref name="iterations" /> is not a positive value.</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> that is empty or <see langword="null" />.</exception>
- <exception cref="T:System.Security.Cryptography.CryptographicException">
- <paramref name="hashAlgorithm" /> is an unsupported hash algorithm. Supported algorithms are <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA1" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA256" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA384" />, and <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA512" />.</exception>
- <returns>A byte array containing the created PBKDF2 derived key.</returns>
- </member>
- <member name="M:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32,System.Security.Cryptography.HashAlgorithmName)">
- <summary>Fills a buffer with a PBKDF2 derived key.</summary>
- <param name="password">The password used to derive the key.</param>
- <param name="salt">The key salt used to derive the key.</param>
- <param name="destination">The buffer to fill with a derived key.</param>
- <param name="iterations">The number of iterations for the operation.</param>
- <param name="hashAlgorithm">The hash algorithm to use to derive the key.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="iterations" /> is not a positive value.</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> that is empty or <see langword="null" />.</exception>
- <exception cref="T:System.Security.Cryptography.CryptographicException">
- <paramref name="hashAlgorithm" /> is an unsupported hash algorithm. Supported algorithms are <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA1" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA256" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA384" />, and <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA512" />.</exception>
- </member>
- <member name="M:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte},System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)">
- <summary>Creates a PBKDF2 derived key from a password.</summary>
- <param name="password">The password used to derive the key.</param>
- <param name="salt">The key salt used to derive the key.</param>
- <param name="iterations">The number of iterations for the operation.</param>
- <param name="hashAlgorithm">The hash algorithm to use to derive the key.</param>
- <param name="outputLength">The size of key to derive.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="outputLength" /> is not zero or a positive value.
-
--or-
-
-<paramref name="iterations" /> is not a positive value.</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> that is empty or <see langword="null" />.</exception>
- <exception cref="T:System.Security.Cryptography.CryptographicException">
- <paramref name="hashAlgorithm" /> is an unsupported hash algorithm. Supported algorithms are <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA1" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA256" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA384" />, and <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA512" />.</exception>
- <exception cref="T:System.Text.EncoderFallbackException">
- <paramref name="password" /> contains text that cannot be converted to UTF8.</exception>
- <returns>A byte array of length <paramref name="outputLength" /> that is filled with pseudo-random key bytes.</returns>
- </member>
- <member name="M:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32,System.Security.Cryptography.HashAlgorithmName)">
- <summary>Fills a buffer with a PBKDF2 derived key.</summary>
- <param name="password">The password used to derive the key.</param>
- <param name="salt">The key salt used to derive the key.</param>
- <param name="destination">The buffer to fill with a derived key.</param>
- <param name="iterations">The number of iterations for the operation.</param>
- <param name="hashAlgorithm">The hash algorithm to use to derive the key.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="iterations" /> is not a positive value.</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> that is empty or <see langword="null" />.</exception>
- <exception cref="T:System.Security.Cryptography.CryptographicException">
- <paramref name="hashAlgorithm" /> is an unsupported hash algorithm. Supported algorithms are <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA1" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA256" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA384" />, and <see cref="P:System.Security.Cryptography.HashAlgorithmName.SHA512" />.</exception>
- <exception cref="T:System.Text.EncoderFallbackException">
- <paramref name="password" /> contains text that cannot be converted to UTF8.</exception>
- </member>
- <member name="M:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.String,System.Byte[],System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)">
- <summary>Creates a PBKDF2 derived key from a password.</summary>
- <param name="password">The password used to derive the key.</param>
- <param name="salt">The key salt used to derive the key.</param>
- <param name="iterations">The number of iterations for the operation.</param>
- <param name="hashAlgorithm">The hash algorithm to use to derive the key.</param>
- <param name="outputLength">The size of key to derive.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="password" /> or <paramref name="salt" /> is <see langword="null" />.</exception>