mirror of
https://github.com/aaru-dps/Aaru.Checksums.git
synced 2025-12-16 19:24:29 +00:00
[Aaru.Checksums] Reformat and cleanup.
This commit is contained in:
@@ -47,6 +47,8 @@ public sealed class Md5Context : IChecksum
|
||||
/// <summary>Initializes the MD5 hash provider</summary>
|
||||
public Md5Context() => _provider = MD5.Create();
|
||||
|
||||
#region IChecksum Members
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>Updates the hash with data.</summary>
|
||||
/// <param name="data">Data buffer.</param>
|
||||
@@ -83,6 +85,8 @@ public sealed class Md5Context : IChecksum
|
||||
return md5Output.ToString();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>Gets the hash of a file</summary>
|
||||
/// <param name="filename">File path.</param>
|
||||
public static byte[] File(string filename)
|
||||
|
||||
Reference in New Issue
Block a user