Skip to content

Added Adler32 to System.IO.Hashing. - #123601

Merged
stephentoub merged 19 commits into
dotnet:mainfrom
AraHaan:add-adler32-to-system-io-hashing
Feb 13, 2026
Merged

Added Adler32 to System.IO.Hashing.#123601
stephentoub merged 19 commits into
dotnet:mainfrom
AraHaan:add-adler32-to-system-io-hashing

Conversation

@AraHaan

Copy link
Copy Markdown
Member

Fixes#90191.

@github-actionsgithub-actionsBot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 25, 2026
@dotnet-policy-servicedotnet-policy-serviceBot added the community-contribution Indicates that the PR has been added by a community member label Jan 25, 2026
@AraHaan

This comment was marked as outdated.

@akoeplingerakoeplinger added area-System.IO.Hashing and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jan 25, 2026
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/tests/Adler32Tests.cs Outdated
@AraHaan

This comment was marked as outdated.

Comment threadsrc/libraries/System.IO.Hashing/ref/System.IO.Hashing.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
@AraHaan
AraHaan marked this pull request as ready for review January 27, 2026 15:40
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.Vectorized.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.Avx2Sse.cs Outdated
@AraHaan

Copy link
Copy Markdown
MemberAuthor

Let me know if these changes look good as is or if any more changes are needed.

Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
Comment threadsrc/libraries/System.IO.Hashing/src/System/IO/Hashing/Adler32.cs Outdated
AraHaanand others added 17 commits February 12, 2026 17:22
Also another attempt at fixing the expected hash values as well.
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Co-authored-by: Kevin Jones <vcsjones@github.com>
Added another remarks entry.
…c to UpdateScalar(). Also added optional spot where ARM intrinsics can be used in UpdateScalar if vectorization is not possible.
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
@stephentoub
stephentoubforce-pushed the add-adler32-to-system-io-hashing branch from f776e19 to 55235a4CompareFebruary 12, 2026 23:18
@stephentoub
stephentoub enabled auto-merge (squash) February 12, 2026 23:19
@stephentoub
stephentoub merged commit fd26ea9 into dotnet:mainFeb 13, 2026
88 of 90 checks passed
@stephentoubstephentoub mentioned this pull request Feb 14, 2026
@AraHaan
AraHaan deleted the add-adler32-to-system-io-hashing branch February 17, 2026 12:09
iremyux pushed a commit to iremyux/dotnet-runtime that referenced this pull request Mar 2, 2026
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Kevin Jones <vcsjones@github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 20, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.IO.Hashingcommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[API Proposal]: System.IO.Hashing.Adler32 class for computing Adler32 checksums

7 participants

@AraHaan@stephentoub@vcsjones@JimBobSquarePants@huoyaoyuan@bartonjs@akoeplinger