Skip to content

Typo: SHA1 should be SHA256 #33195

@dimabarbul

Description

@dimabarbul

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.


Associated WorkItem - 57760

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet/svcgood first issueIssue should be good for first-time contributors, with clear instructionshelp wantedGood for community contributors to help [up-for-grabs]okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.security-practices/subsvc

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions