EfueliteSolutionsCryptography.Core
1.1.1-alpha
dotnet add package EfueliteSolutionsCryptography.Core --version 1.1.1-alpha
NuGet\Install-Package EfueliteSolutionsCryptography.Core -Version 1.1.1-alpha
<PackageReference Include="EfueliteSolutionsCryptography.Core" Version="1.1.1-alpha" />
paket add EfueliteSolutionsCryptography.Core --version 1.1.1-alpha
#r "nuget: EfueliteSolutionsCryptography.Core, 1.1.1-alpha"
// Install EfueliteSolutionsCryptography.Core as a Cake Addin #addin nuget:?package=EfueliteSolutionsCryptography.Core&version=1.1.1-alpha&prerelease // Install EfueliteSolutionsCryptography.Core as a Cake Tool #tool nuget:?package=EfueliteSolutionsCryptography.Core&version=1.1.1-alpha&prerelease
Efuelite Solutions Cryptography package helps developers to generate strong passwords, hashing of passwords and authentication of supplied hash passwords to be used in .Net Core Applications.
This pacakge also encrypts and decrypts text,messages in very secure formats to be transmitted safely through any medium. This package gives optimium security as the same data encrypted twice produces varying results.
EfueCrypto password generator has been verified and certified by Google password test to be fit for financial institutions and the likes that requires maximum security in users credentials On usage, feel free to test the strength from the url below http://rumkin.com/tools/password/passchk.php https://www.my1login.com/resources/password-strength-test/ http://password-checker.online-domain-tools.com/ http://www.passwordmeter.com/ https://howsecureismypassword.net/
Usage:
In class where its to be used, import the name space "EfueliteSolutionsCryptography".
Methods:
EfueCrypto.Encrypt(string PlainText);
this method is a tuple that takes a plain text/data to be encrypted and returns the encrypted data and the key which will be required to decrypt the data to its original form N.B. The key must be kept secret and only supplied at the point of decryption.
===> C# implementation
var obj = EfueCrypto.Encrypt(string PlainText); obj.EfueliteCrypto_Key (gives the Key used in the encryption process) obj.EfueliteCrypto_EncryptedText (gives the encrypted data)EfueCrypto.Decrypt(string Key, string EncryptedText);
this method takes the key that was used to encrypt the data and the encrypted data ,does the decryption and returns the encrypted data to its original form N.B. The key must be the same exact key given by the EfueCrypto.Encrypt method at the point of encryption.
===> C# implementation
string decryptedData = EfueCrypto.Decrypt(string Key, string EncryptedText); decryptedData(its a string data type that gives the original information that was encrypted)EfueCrypto.GeneratePassword()
this method returns an extremely strong generated password of 19 xters
===> C# implementation
string password = EfueCrypto.GeneratePassword(); password(its a string data type that gives the generated password)This password generator has been verified and certified to be fit for financial institutions and the likes that requires maximum security in users credentials
EfueCrypto.SecurePassword(string PlainPassword, int HashIteration);
Its never a good practise to store passwords in plain text, This method takes a Plain password and hash it using a random generated salt in combination with other powerful algorithm that relies on AESEncryption. Hashing of password with this method is a one way process. Hence the hashed password can never be reversed which makes it very secure. Although, verification at login can be done using method (5) method(4) is a tuple and returns three items as described below.
===> C#
Parameters: PlainPassword (This is the plain password in string format to be hashed by the method) HashIteration (This number determines number of iterations to be used by the method i.e. If its too high , it can slow down the hashing process. N.B. This same number must be supplied during the authentication process as seen on method (5))===>implementation var obj = EfueCrypto.SecurePassword(string PlainPassword, int HashIteration); obj.EfueliteCrypto_PlainPassword (gives the Original Plain password that was supplied) obj.EfueliteCrypto_Base64Password (gives the Hashed password which is safe to store in the database) obj.EfueliteCrypto_Base64Salt (gives the password salt. This should be stored in the database along side the hashed password)
EfueCrypto.AuthenticatePassword(string SuppliedPassword, string HashedPassword, string PasswordSalt,int HashIteration)
Parameters: This method takes the password that the user supplied at login; The hashed password that was produced by method(4) and stored; The password salt that was used in the hashing process and The number of iterations specified during the hash process.
===>C# implementation bool Outcome = EfueCrypto.AuthenticatePassword(string SuppliedPassword, string HashedPassword, string PasswordSalt,int HashIteration); On execution, the method returns a boolean true/false value indicating if the password supplied by the user at login is correct or not.
For further enquiries, you can send mails to info@efuelite.com
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 | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 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.
Version | Downloads | Last updated | |
---|---|---|---|
1.1.1-alpha | 628 | 11/26/2018 | |
1.0.0 | 872 | 9/22/2018 |