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.
<PackageVersion Include="EncryptAndDecryptSentences" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="EncryptAndDecryptSentences" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package EncryptAndDecryptSentences@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EncryptAndDecryptSentences&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=EncryptAndDecryptSentences&version=1.0.2
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 405 1/16/2023
1.0.1 372 1/15/2023
1.0.0 358 1/15/2023