simple-ciphers 2.0.5

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

// Install simple-ciphers as a Cake Tool
#tool nuget:?package=simple-ciphers&version=2.0.5                

Simple Ciphers

A C# package for plain text encryption and decryption for simple, but fun ciphers.

Add to Project

Via dotnet:

dotnet add package simple-ciphers --version 2.0.5

Via PackageReference in your .csproj file:

<PackageReference Include="simple-ciphers" Version="2.0.5" />

Encryption

Use A1Z26() to substitute letters for their corresponding positions.

Encryption.A1Z26("hello world!");
// returns: 8-5-12-12-15 23-15-18-12-4!

Use Atbash() to swap letters to their opposite positions.

Encryption.Atbash("hello world!");
// returns: svool dliow!

Use Caesar() for shift ciphers.

Encryption.Caesar("hello world!", 3);
// returns: khoor zruog!

Use Morse() to substitute letters for their morse code equivalent.

Encryption.Morse("hello world!");
// returns: .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--

Use Vigenere() to cipher with a key.

Encryption.Vigenere("hello world!", "key");
// returns: rijvs uyvjn!

Decryption

Use A1Z26() to substitute numbers for their corresponding letters.

Decryption.A1Z26("8-5-12-12-15 23-15-18-12-4!");
// returns: hello world!

Use Atbash() to swap letters to their opposite positions.

Decryption.Atbash("svool dliow!");
// returns: hello world!

Use Caesar() for shift ciphers.

Decryption.Caesar("khoor zruog!", 3);
// returns: hello world!

Use Morse() to substitute morse code for their letter and/or symbol equivalent.

Deryption.Morse(".... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--");
// returns: hello world!

Use Vigenere() to decipher with a key.

Encryption.Vigenere("rijvs uyvjn!", "key");
// returns: hello world!
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
2.3.0 125 7/25/2024
2.2.0 131 6/29/2024
2.1.0 162 4/22/2024
2.0.5 172 12/29/2023
2.0.4 141 12/17/2023
2.0.3 164 12/1/2023
2.0.1 142 10/31/2023
1.0.0 137 10/31/2023 1.0.0 is deprecated because it is no longer maintained.

Fixed Decryption of Vigenere and A1Z26. Vigenere now works with any string andkey length. A1Z26 now accounts for cases where symbols are next to numbers.