EncryptAndDecryptSentences 1.0.2

dotnet add package EncryptAndDecryptSentences --version 1.0.2
NuGet\Install-Package EncryptAndDecryptSentences -Version 1.0.2
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="EncryptAndDecryptSentences" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EncryptAndDecryptSentences --version 1.0.2
#r "nuget: EncryptAndDecryptSentences, 1.0.2"
#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 EncryptAndDecryptSentences as a Cake Addin
#addin nuget:?package=EncryptAndDecryptSentences&version=1.0.2

// Install EncryptAndDecryptSentences as a Cake Tool
#tool nuget:?package=EncryptAndDecryptSentences&version=1.0.2

EncryptAndDecryptSentences

This is a simple library with built-in encryption characters matching every letter in the English alphabet.

Built With

  • Major languages: C#
  • Frameworks: .NET 6.0
  • Technologies: Github and Visual Studio

To get started?

Just like every other NuGet package installation, the EncryptAndDecryptSentences package can be installed in either of these two ways:

Install using .NET CLI:

  • run: dotnet add package EncryptAndDecryptSentences --version 1.0.2

Install using Visual Studio:

  • Right-click on project dependencies
  • Select manage Nuget packages
  • Search for EncryptAndDecryptSentences
  • Click install

Prerequisites

An understanding of C# and NuGet Packages

Usage

As the name implies, this package allows you to encrypt and decrypt wwords/sentences of your choice, using our built-in characters that match every letter in the English dictionary. This package allows you access to two methods, namely:

The Encrypt(string message) method: this method takes in a word/sentence and returns a string The Decrypt(string message) method: this method takes in a word/sentence and returns a string

To call these methods, you have to first create an instance of the Services class, then call the method(s) that you are interested in.

Code Samples

using EncryptAndDecryptSentences;
namespace Run;

    internal class Program
    {
        static void Main(string[] args)
        {
          //Create an Instance of the Services class
          Services service = new Services();
         //Call the Encrypt(string sentence) method if you want to encrypt anything
          string encrypt = service.Encrypt("my name is amaka");
          Console.WriteLine(encrypt);

          //To Decrypt a word/sentence
          string decrypt = service.Decrypt("~/ [£~>");
          Console.WriteLine(decrypt);
        }
    }

Limitations

  1. It supports only the English alphabets
  2. It may give you inaccurate results if you intend to decrypt a word/sentence that was not encrypted with our methods
  3. You can customize the encryption characters
  4. It only converts lowercase characters

Authors

Uzoamaka Nweze

GitHub: @Chelseaquiin Twitter: @Chelseaqueen

License

This project is MIT licensed.

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.

Version Downloads Last updated
1.0.2 279 1/16/2023
1.0.1 260 1/15/2023
1.0.0 247 1/15/2023