Hash.String 1.0.0

Suggested Alternatives

Hash.String 1.1.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hash.String --version 1.0.0                
NuGet\Install-Package Hash.String -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hash.String" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hash.String --version 1.0.0                
#r "nuget: Hash.String, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hash.String as a Cake Addin
#addin nuget:?package=Hash.String&version=1.0.0

// Install Hash.String as a Cake Tool
#tool nuget:?package=Hash.String&version=1.0.0                

This package adds 4 fucntions to your .net code Setup, Login, Validate and HashString.

The setup function takes 1 argument and that is the name of the .txt file which will store your username and password in encrypted form.

The Login function takes 2 arguments, the username and passcode. This function encrypts hashes the username and passcode and checks it against the hashed usernames and passcodes held in the .txt file specified using the setup function.

The Validate function also takes 2 arguments and does the same thing as the login function, but it doesn't hash the inputed usernames and passwords so you should only use this function if you already hashed the inputed usernames and passcodes using the HashString function.

The HashString Function takes 1 argument and that is the string you want to hash. It simply returns the hashed version of the string.

PLEASE NOTE: In the .txt file, the hashed username should be written on the first line, with no spaces before it, and the passcode should be written in the same way but on the following line. If you need more than one username and password, place the new set of login credentials on the two lines following the first username and passcode making sure there aren't any spaces or line breaks.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • 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.