Skip to content

Commit

Permalink
Version 8.0
Browse files Browse the repository at this point in the history
Removed TXT, JSON, XML
  • Loading branch information
simon-techkid committed Oct 21, 2024
1 parent 3b1d0fa commit 9772f58
Show file tree
Hide file tree
Showing 16 changed files with 39 additions and 140 deletions.
26 changes: 7 additions & 19 deletions Hashing.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ VisualStudioVersion = 17.10.34928.147
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing", "src\Hashing\Hashing.csproj", "{6D4B6F7C-9D6F-4835-8ECF-3EB43B86F4D9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing.Formats.Json", "src\Hashing.Formats\Hashing.Formats.Json\Hashing.Formats.Json.csproj", "{C57880E6-FCA6-4985-874C-FB32337ED907}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing.Formats.Txt", "src\Hashing.Formats\Hashing.Formats.Txt\Hashing.Formats.Txt.csproj", "{6CF96E05-75C7-486A-8510-9B9906F20EC0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing.Formats.Xml", "src\Hashing.Formats\Hashing.Formats.Xml\Hashing.Formats.Xml.csproj", "{F1E96843-10AD-478B-A908-88E1A26D39EF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing.Formats.Stream", "src\Hashing.Formats\Hashing.Formats.File\Hashing.Formats.Stream.csproj", "{1AAD71E3-BEDF-4FAD-ABE9-CCF526DAE0E0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing.Formats.Stream", "src\Hashing.Formats\Hashing.Formats.Stream\Hashing.Formats.Stream.csproj", "{1AAD71E3-BEDF-4FAD-ABE9-CCF526DAE0E0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hashing.Formats.Byte", "src\Hashing.Formats\Hashing.Formats.Byte\Hashing.Formats.Byte.csproj", "{1BD0DCD2-D7DD-406D-BA5E-F494618D7DB0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hashing.Formats.String", "src\Hashing.Formats\Hashing.Formats.String\Hashing.Formats.String.csproj", "{257A8681-967C-42E4-A591-E82128061E82}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -25,18 +21,6 @@ Global
{6D4B6F7C-9D6F-4835-8ECF-3EB43B86F4D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6D4B6F7C-9D6F-4835-8ECF-3EB43B86F4D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6D4B6F7C-9D6F-4835-8ECF-3EB43B86F4D9}.Release|Any CPU.Build.0 = Release|Any CPU
{C57880E6-FCA6-4985-874C-FB32337ED907}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C57880E6-FCA6-4985-874C-FB32337ED907}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C57880E6-FCA6-4985-874C-FB32337ED907}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C57880E6-FCA6-4985-874C-FB32337ED907}.Release|Any CPU.Build.0 = Release|Any CPU
{6CF96E05-75C7-486A-8510-9B9906F20EC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6CF96E05-75C7-486A-8510-9B9906F20EC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6CF96E05-75C7-486A-8510-9B9906F20EC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6CF96E05-75C7-486A-8510-9B9906F20EC0}.Release|Any CPU.Build.0 = Release|Any CPU
{F1E96843-10AD-478B-A908-88E1A26D39EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F1E96843-10AD-478B-A908-88E1A26D39EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1E96843-10AD-478B-A908-88E1A26D39EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F1E96843-10AD-478B-A908-88E1A26D39EF}.Release|Any CPU.Build.0 = Release|Any CPU
{1AAD71E3-BEDF-4FAD-ABE9-CCF526DAE0E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1AAD71E3-BEDF-4FAD-ABE9-CCF526DAE0E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1AAD71E3-BEDF-4FAD-ABE9-CCF526DAE0E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -45,6 +29,10 @@ Global
{1BD0DCD2-D7DD-406D-BA5E-F494618D7DB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1BD0DCD2-D7DD-406D-BA5E-F494618D7DB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1BD0DCD2-D7DD-406D-BA5E-F494618D7DB0}.Release|Any CPU.Build.0 = Release|Any CPU
{257A8681-967C-42E4-A591-E82128061E82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{257A8681-967C-42E4-A591-E82128061E82}.Debug|Any CPU.Build.0 = Debug|Any CPU
{257A8681-967C-42E4-A591-E82128061E82}.Release|Any CPU.ActiveCfg = Release|Any CPU
{257A8681-967C-42E4-A591-E82128061E82}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

This file was deleted.

16 changes: 0 additions & 16 deletions src/Hashing.Formats/Hashing.Formats.Json/JsonHashProvider.cs

This file was deleted.

11 changes: 0 additions & 11 deletions src/Hashing.Formats/Hashing.Formats.Json/JsonHashVerifier.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\Hashing\Hashing.csproj" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions src/Hashing.Formats/Hashing.Formats.String/StringHashProvider.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Hashing by Simon Field

using System.Text;

namespace Hashing.Formats.String;

public class StringHashProvider(Encoding? encoding = null) : StringHashProviderBase<string>(encoding)
{
protected override string ConvertToString(string data) => data;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Hashing by Simon Field

namespace Hashing.Formats.String;

public class StringHashVerifier : HashVerifierBase<string>
{
protected override IHashingProvider<string> HashProvider => new StringHashProvider();
}
14 changes: 0 additions & 14 deletions src/Hashing.Formats/Hashing.Formats.Txt/Hashing.Formats.Txt.csproj

This file was deleted.

13 changes: 0 additions & 13 deletions src/Hashing.Formats/Hashing.Formats.Txt/TxtHashProvider.cs

This file was deleted.

8 changes: 0 additions & 8 deletions src/Hashing.Formats/Hashing.Formats.Txt/TxtHashVerifier.cs

This file was deleted.

14 changes: 0 additions & 14 deletions src/Hashing.Formats/Hashing.Formats.Xml/Hashing.Formats.Xml.csproj

This file was deleted.

16 changes: 0 additions & 16 deletions src/Hashing.Formats/Hashing.Formats.Xml/XmlHashProvider.cs

This file was deleted.

11 changes: 0 additions & 11 deletions src/Hashing.Formats/Hashing.Formats.Xml/XmlHashVerifier.cs

This file was deleted.

0 comments on commit 9772f58

Please sign in to comment.