Skip to content

Commit e2004ed

Browse files
committed
Remove MD5 and SHA1 hash algorithm implementations
Deleted Md5HashAlgorithm and Sha1HashAlgorithm classes and removed their references from project files. This likely improves security by eliminating outdated and insecure hash algorithms from the codebase.
1 parent c6e115d commit e2004ed

File tree

5 files changed

+0
-24
lines changed

5 files changed

+0
-24
lines changed

src/c#/GeneralUpdate.Bowl/GeneralUpdate.Bowl.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
<Compile Include="..\GeneralUpdate.Common\FileBasic\FileTree.cs" Link="Common\FileTree.cs" />
4949
<Compile Include="..\GeneralUpdate.Common\FileBasic\StorageManager.cs" Link="Common\StorageManager.cs" />
5050
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\HashAlgorithmBase.cs" Link="Common\HashAlgorithmBase.cs" />
51-
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Md5HashAlgorithm.cs" Link="Common\Md5HashAlgorithm.cs" />
52-
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha1HashAlgorithm.cs" Link="Common\Sha1HashAlgorithm.cs" />
5351
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha256HashAlgorithm.cs" Link="Common\Sha256HashAlgorithm.cs" />
5452
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\AbstractBootstrap.cs" Link="Common\AbstractBootstrap.cs" />
5553
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\UpdateOption.cs" Link="Common\UpdateOption.cs" />

src/c#/GeneralUpdate.ClientCore/GeneralUpdate.ClientCore.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
<Compile Include="..\GeneralUpdate.Common\FileBasic\FileTree.cs" Link="Common\FileTree.cs" />
3939
<Compile Include="..\GeneralUpdate.Common\FileBasic\StorageManager.cs" Link="Common\StorageManager.cs" />
4040
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\HashAlgorithmBase.cs" Link="Common\HashAlgorithmBase.cs" />
41-
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Md5HashAlgorithm.cs" Link="Common\Md5HashAlgorithm.cs" />
42-
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha1HashAlgorithm.cs" Link="Common\Sha1HashAlgorithm.cs" />
4341
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha256HashAlgorithm.cs" Link="Common\Sha256HashAlgorithm.cs" />
4442
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\AbstractBootstrap.cs" Link="Common\AbstractBootstrap.cs" />
4543
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\UpdateOption.cs" Link="Common\UpdateOption.cs" />

src/c#/GeneralUpdate.Common/HashAlgorithms/Md5HashAlgorithm.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/c#/GeneralUpdate.Common/HashAlgorithms/Sha1HashAlgorithm.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/c#/GeneralUpdate.Core/GeneralUpdate.Core.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
<Compile Include="..\GeneralUpdate.Common\FileBasic\FileTree.cs" Link="Common\FileTree.cs" />
4242
<Compile Include="..\GeneralUpdate.Common\FileBasic\StorageManager.cs" Link="Common\StorageManager.cs" />
4343
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\HashAlgorithmBase.cs" Link="Common\HashAlgorithmBase.cs" />
44-
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Md5HashAlgorithm.cs" Link="Common\Md5HashAlgorithm.cs" />
45-
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha1HashAlgorithm.cs" Link="Common\Sha1HashAlgorithm.cs" />
4644
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha256HashAlgorithm.cs" Link="Common\Sha256HashAlgorithm.cs" />
4745
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\AbstractBootstrap.cs" Link="Common\AbstractBootstrap.cs" />
4846
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\UpdateOption.cs" Link="Common\UpdateOption.cs" />

0 commit comments

Comments
 (0)