The buffer in is too small to hold the calculated hash
- size. The SHA512 algorithm always produces a 512-bit hash, or 64 bytes.
+ size. The SHA-512 algorithm always produces a 512-bit hash, or 64 bytes.
-or-
@@ -490,10 +490,10 @@
The data to hash.
The buffer to receive the hash value.
- Computes the hash of data using the SHA512 algorithm.
+ Computes the hash of data using the SHA-512 algorithm.
The total number of bytes written to .
To be added.
- The buffer in is too small to hold the calculated hash size. The SHA512 algorithm always produces a 512-bit hash, or 64 bytes.
+ The buffer in is too small to hold the calculated hash size. The SHA-512 algorithm always produces a 512-bit hash, or 64 bytes.
@@ -533,7 +533,7 @@
The stream to hash.
The token to monitor for cancellation requests.
The default value is .
- Asynchronously computes the hash of a stream using the SHA512 algorithm.
+ Asynchronously computes the hash of a stream using the SHA-512 algorithm.
The hash of the data.
This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as , are still thrown synchronously. For the stored exceptions, see the exceptions thrown by .
@@ -583,7 +583,7 @@
The buffer to receive the hash value.
The token to monitor for cancellation requests.
The default value is .
- Asynchronously computes the hash of a stream using the SHA512 algorithm.
+ Asynchronously computes the hash of a stream using the SHA-512 algorithm.
The total number of bytes written to .
To be added.
@@ -591,7 +591,7 @@
The buffer in is too small to hold the calculated hash
- size. The SHA512 algorithm always produces a 512-bit hash, or 64 bytes.
+ size. The SHA-512 algorithm always produces a 512-bit hash, or 64 bytes.
-or-
@@ -627,7 +627,7 @@
512
- The hash size produced by the SHA512 algorithm, in bits.
+ The hash size produced by the SHA-512 algorithm, in bits.
To be added.
@@ -657,7 +657,7 @@
64
- The hash size produced by the SHA512 algorithm, in bytes.
+ The hash size produced by the SHA-512 algorithm, in bytes.
To be added.
@@ -696,7 +696,7 @@
The data to hash.
The buffer to receive the hash value.
When this method returns, the total number of bytes written into .
- Attempts to compute the hash of data using the SHA512 algorithm.
+ Attempts to compute the hash of data using the SHA-512 algorithm.
if is too small to hold the calculated hash, otherwise.
To be added.
diff --git a/xml/System.Security.Policy/Hash.xml b/xml/System.Security.Policy/Hash.xml
index 729c2abdd07..bd779ed7755 100644
--- a/xml/System.Security.Policy/Hash.xml
+++ b/xml/System.Security.Policy/Hash.xml
@@ -55,14 +55,14 @@
Provides evidence about the hash value for an assembly. This class cannot be inherited.
- and hash algorithms is supported, although any hash algorithm can be used through .
+ and hash algorithms is supported, although any hash algorithm can be used through .
+
+ Due to collision problems with MD5 and SHA-1, Microsoft recommends a security model based on SHA-256 or better.
]]>
@@ -101,11 +101,11 @@
The assembly for which to compute the hash value.
Initializes a new instance of the class.
-
The parameter is .
@@ -174,12 +174,12 @@
Creates a object that contains an hash value.
An object that contains the hash value provided by the parameter.
- object contains only the property.
+ object contains only the property.
+
+ Due to collision problems with MD5, Microsoft recommends a security model based on SHA-256 or better.
]]>
@@ -222,12 +222,12 @@
Creates a object that contains a hash value.
An object that contains the hash value provided by the parameter.
- object contains only the property.
+ object contains only the property.
- Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.
+ Due to collision problems with SHA-1, Microsoft recommends a security model based on SHA-256 or better.
]]>
@@ -268,11 +268,11 @@
Creates a object that contains a hash value.
A hash object that contains the hash value provided by the parameter.
- object contains only the property.
-
+ object contains only the property.
+
]]>
The parameter is .
@@ -315,11 +315,11 @@
Computes the hash value for the assembly using the specified hash algorithm.
A byte array that represents the hash value for the assembly.
- . The returned hash value is of the type identified by `hashAlg`.
-
+ . The returned hash value is of the type identified by `hashAlg`.
+
]]>
The parameter is .
@@ -381,11 +381,11 @@
The contextual information about the source or destination.
Gets the object with the parameter name and additional exception information.
- interface.
-
+ interface.
+
]]>
@@ -423,14 +423,14 @@
Gets the hash value for the assembly.
A byte array that represents the hash value for the assembly.
-