You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml
+6-10
Original file line number
Diff line number
Diff line change
@@ -1039,7 +1039,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf
1039
1039
<paramname="salt">The key salt used to derive the key.</param>
1040
1040
<paramname="iterations">The number of iterations for the operation.</param>
1041
1041
<paramname="hashAlgorithm">The hash algorithm to use to derive the key.</param>
1042
-
<paramname="outputLength">The size of key to derive.</param>
1042
+
<paramname="outputLength">The size of the key to derive, in bytes.</param>
1043
1043
<summary>Creates a PBKDF2 derived key from password bytes.</summary>
1044
1044
<returns>A byte array containing the created PBKDF2 derived key.</returns>
1045
1045
<remarks>To be added.</remarks>
@@ -1100,7 +1100,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf
1100
1100
<paramname="salt">The key salt used to derive the key.</param>
1101
1101
<paramname="iterations">The number of iterations for the operation.</param>
1102
1102
<paramname="hashAlgorithm">The hash algorithm to use to derive the key.</param>
1103
-
<paramname="outputLength">The size of key to derive.</param>
1103
+
<paramname="outputLength">The size of the key to derive, in bytes.</param>
1104
1104
<summary>Creates a PBKDF2 derived key from password bytes.</summary>
1105
1105
<returns>A byte array containing the created PBKDF2 derived key.</returns>
1106
1106
<remarks>To be added.</remarks>
@@ -1207,17 +1207,15 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf
1207
1207
<paramname="salt">The key salt used to derive the key.</param>
1208
1208
<paramname="iterations">The number of iterations for the operation.</param>
1209
1209
<paramname="hashAlgorithm">The hash algorithm to use to derive the key.</param>
1210
-
<paramname="outputLength">The size of key to derive.</param>
1210
+
<paramname="outputLength">The size of the key to derive, in bytes.</param>
1211
1211
<summary>Creates a PBKDF2 derived key from a password.</summary>
1212
1212
<returns>A byte array of length <paramrefname="outputLength" /> that is filled with pseudo-random key bytes.</returns>
1213
1213
<remarks>
1214
1214
<formattype="text/markdown"><![CDATA[
1215
1215
1216
1216
## Remarks
1217
1217
1218
-
The `password` will be converted to bytes using the UTF8 encoding. For
1219
-
other encodings, convert the password string to bytes using the appropriate <xref:System.Text.Encoding>
1220
-
and use <xref:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)>.
1218
+
The `password` is converted to bytes using the UTF8 encoding. For other encodings, convert the password string to bytes using the appropriate <xref:System.Text.Encoding> and use <xref:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)>.
1221
1219
1222
1220
]]></format>
1223
1221
</remarks>
@@ -1332,17 +1330,15 @@ The `password` will be converted to bytes using the UTF8 encoding. For
1332
1330
<paramname="salt">The key salt used to derive the key.</param>
1333
1331
<paramname="iterations">The number of iterations for the operation.</param>
1334
1332
<paramname="hashAlgorithm">The hash algorithm to use to derive the key.</param>
1335
-
<paramname="outputLength">The size of key to derive.</param>
1333
+
<paramname="outputLength">The size of the key to derive, in bytes.</param>
1336
1334
<summary>Creates a PBKDF2 derived key from a password.</summary>
1337
1335
<returns>A byte array of length <paramrefname="outputLength" /> that is filled with pseudo-random key bytes.</returns>
1338
1336
<remarks>
1339
1337
<formattype="text/markdown"><![CDATA[
1340
1338
1341
1339
## Remarks
1342
1340
1343
-
The `password` will be converted to bytes using the UTF8 encoding. For
1344
-
other encodings, convert the password string to bytes using the appropriate <xref:System.Text.Encoding>
1345
-
and use <xref:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.Byte[],System.Byte[],System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)>.
1341
+
The `password` is converted to bytes using the UTF8 encoding. For other encodings, convert the password string to bytes using the appropriate <xref:System.Text.Encoding> and use <xref:System.Security.Cryptography.Rfc2898DeriveBytes.Pbkdf2(System.Byte[],System.Byte[],System.Int32,System.Security.Cryptography.HashAlgorithmName,System.Int32)>.
0 commit comments