[CSHARP-1584] Write an incremental MD5 implementation for .NET Core Created: 29/Feb/16  Updated: 07/Apr/23  Resolved: 12/Jul/16

Status: Closed
Project: C# Driver
Component/s: GridFS
Affects Version/s: 2.2.3
Fix Version/s: 2.3

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: .NET Core

 Description   

GridFS relies on being able to compute an MD5 hash incrementally as the GridFS chunks are being uploaded or downloaded.

Since the .NET Core implementation of MD5 only works with entire buffers at a time, we have to write our own implementation of MD5 (at least for the .NET Core version of the driver).



 Comments   
Comment by Jeffrey Yemin [ 12/Jul/16 ]

Unnecessary as .NET Core now includes an incremental MD5 implementation, which can be used in GridFS

Comment by Robert Stam [ 11/Mar/16 ]

Thanks for that information. It's very helpful.

Comment by Alan [ 11/Mar/16 ]

corefx has the `System.Security.Cryptography.IncrementalHash` class (from the `System.Security.Cryptography.Algorithms` package), which implements incremental hash algorithms for .NET Core.

Generated at Wed Feb 07 21:40:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.