SecureKeyGenerator 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SecureKeyGenerator --version 1.0.0
NuGet\Install-Package SecureKeyGenerator -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="SecureKeyGenerator" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SecureKeyGenerator --version 1.0.0
#r "nuget: SecureKeyGenerator, 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 SecureKeyGenerator as a Cake Addin
#addin nuget:?package=SecureKeyGenerator&version=1.0.0

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

SecureKeyGenerator - Key Generation Library

Overview

SecureKeyGenerator is a key generation library designed to add an extra layer of security to your application. This library utilizes the Triple DES algorithm for encrypting and decrypting strings, providing a secure mechanism for key generation.

Key Features

  • Triple DES Algorithm: The library employs the Triple DES algorithm to ensure robust encryption and decryption of sensitive data.

  • User Identity Generation: SecureKeyGenerator facilitates the generation of a user identity that serves as a key to unlock your application.

  • Verification Mechanism: The library includes a verification mechanism to ensure the accuracy of the entered user identity.

Usage

Initialization

To begin using the library, create an instance of the KeyGenServices class:

KeyGenServices keyGenServices = new KeyGenServices();

Generate Encrypted User Identity

To obtain the encrypted user identity, use the GetEncryptedUserIdentity method:

string encryptedUserIdentity = keyGenServices.GetEncryptedUserIdentity();

This method returns an encrypted string containing the user identity.

Verify User Identity

To verify the entered user identity, use the IsVerifyUserIdentity method:

bool isVerified = keyGenServices.IsVerifyUserIdentity(enteredUserIdentity);

This method checks if the entered user identity is correct and matches the generated identity. It returns true if the identities are the same and false otherwise.

Example

KeyGenServices keyGenServices = new KeyGenServices();

// Generate Encrypted User Identity
string encryptedUserIdentity = keyGenServices.GetEncryptedUserIdentity();

// Verify User Identity
bool isVerified = keyGenServices.IsVerifyUserIdentity(enteredUserIdentity);

if (isVerified)
{
    // Allow access to the application
    Console.WriteLine("Access Granted!");
}
else
{
    // Deny access to the application
    Console.WriteLine("Access Denied!");
}
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • 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.0.3.1 88 2/19/2024
1.0.3 83 2/17/2024
1.0.2 104 2/14/2024
1.0.1 89 2/12/2024
1.0.0 89 2/12/2024

Summary of changes made in this release of the package.