-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.dotnet/svcgood first issueIssue should be good for first-time contributors, with clear instructionsIssue should be good for first-time contributors, with clear instructionshelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.security-practices/subsvc
Description
Under section Generating a Hash
following text:
The managed hash classes can hash either an array of bytes or a managed stream object. The following example uses the SHA1 hash algorithm to create a hash value for a string. The example uses the UnicodeEncoding class to convert the string into an array of bytes that are hashed by using the SHA256 class. The hash value is then displayed to the console.
should say SHA256 instead of SHA1 (highlighted in bold) as the code snippet below uses SHA256.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: bbc6115f-5205-2a32-6d31-f628a8e4aa3b
- Version Independent ID: 91c61586-f647-5236-e886-fbda771d42e4
- Content: Ensuring Data Integrity with Hash Codes
- Content Source: docs/standard/security/ensuring-data-integrity-with-hash-codes.md
- Product: dotnet
- Technology: dotnet-security
- GitHub Login: @IEvangelist
- Microsoft Alias: dapine
IEvangelist
Metadata
Metadata
Assignees
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.dotnet/svcgood first issueIssue should be good for first-time contributors, with clear instructionsIssue should be good for first-time contributors, with clear instructionshelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.security-practices/subsvc