Zoervleis 1.1.0
dotnet add package Zoervleis --version 1.1.0
NuGet\Install-Package Zoervleis -Version 1.1.0
<PackageReference Include="Zoervleis" Version="1.1.0" />
paket add Zoervleis --version 1.1.0
#r "nuget: Zoervleis, 1.1.0"
// Install Zoervleis as a Cake Addin #addin nuget:?package=Zoervleis&version=1.1.0 // Install Zoervleis as a Cake Tool #tool nuget:?package=Zoervleis&version=1.1.0
Zoervleis
Zoervleis is a C# tool to convert hashes into human readable strings.
If hashes need to be communicated human to human HumanHash
is advised.
If hashes need to be communicated human to computer or vice versa, DigitHash
is advised.
One extra perk of DigitHash
is that is more information dense.
Example
We can use HumanHash
as follows
var toHash = "Hello World"u8.ToArray();
var hash = SHA256.HashData(toHash);
var humanizedString = HumanHash.Humanize(hash);
Console.WriteLine(humanizedString); // Output will be "orange-monkey-oranges-steak-asparagus-white"
We can use DigitHash
as follows
var toHash = "Hello World"u8.ToArray();
var hash = SHA256.HashData(toHash);
var humanizedString = DigitHash.Digitize(hash);
Console.WriteLine(humanizedString); // Output will be "11109-73930-84387-59824-87079"
To do:
The following list includes ideas for what I still want to implement. I am open for suggestions.
- Multi language support
- Dependency injection support
- Custom dictionary support
- Support for hashing-and-humanizing in one
License
This project is licensed under the GNU GPLv3 license.
Attributions
- This package is heavily inspired on the Python package humanhash.
- Cauldron icon was based off a creation by Wishforge.games in CC Attribution License via SVG Repo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Added a `Digitizer` class
- Multiple exceptions added when function arguments are incorrect
- Dependency upped to .NET Standard 2.1 (to use Spans)
- Improved examples in `README.md`
- New icon color