4Stack 1.2.0
See the version list below for details.
dotnet add package 4Stack --version 1.2.0
NuGet\Install-Package 4Stack -Version 1.2.0
<PackageReference Include="4Stack" Version="1.2.0" />
<PackageVersion Include="4Stack" Version="1.2.0" />
<PackageReference Include="4Stack" />
paket add 4Stack --version 1.2.0
#r "nuget: 4Stack, 1.2.0"
#:package 4Stack@1.2.0
#addin nuget:?package=4Stack&version=1.2.0
#tool nuget:?package=4Stack&version=1.2.0
4Stack Encryption Library
4Stack Encryption Library is a lightweight and easy-to-use C# library with multiple utilities, including encrypting and decrypting strings using various encoding techniques. It provides interactive methods that allow you to encode and decode data directly through parameters and print results instantly. The library is continuously updated, and each new release may include one or more additional functions.
Features / New Features
| Feature | Description |
|---|---|
| Base64 Encoding | Encode your string into Base64. |
| Base64 Decoding | Decode a Base64 string back to original. |
| Hex Encoding | Convert string to hexadecimal format. |
| Hex Decoding | Convert hexadecimal string back to original. |
| ROT13 | Encode or decode text using ROT13. |
| Base32 Encoding | Encode text into Base32. |
| Base32 Decoding | Decode Base32 back to original text. |
| Simple Usage | All methods are void and take the string as a parameter. |
| Console Output | Directly prints the result to the console. |
| TerminalUI | TerminalUI Improved. |
Version 1.2.0: This version may contain bugs.
Installation
Install via .NET CLI:
dotnet add package 4Stack
Usage Examples
Encryption Examples
using _4Stack.MainTools;
class Program
{
static void Main()
{
Encrypt.toEncrypt.Base64("Hello World");
Encrypt.toEncrypt.Hex("Hello World");
Encrypt.toEncrypt.ROT13("Hello World");
Encrypt.toEncrypt.Base32("Hello World");
}
}
Output:
SGVsbG8gV29ybGQ=
48656c6c6f20576f726c64
Uryyb Jbeyq
JBSWY3DPEBLW64TMMQ======
Decryption Examples
using _4Stack.ReverseTools;
class Program
{
static void Main()
{
EncryptToString.toDecrypt.Base64("SGVsbG8gV29ybGQ=");
EncryptToString.toDecrypt.Hex("48656c6c6f20576f726c64");
EncryptToString.toDecrypt.ROT13("Uryyb Jbeyq");
EncryptToString.toDecrypt.Base32("JBSWY3DPEBLW64TMMQ======");
}
}
Output:
Hello World
Hello World
Hello World
Hello World
TerminalUI Example
public class Program
{
public static void Main()
{
var window = new TerminalUI.MainContent("Hello World Demo", width: 40, height: 8)
.Color(ConsoleColor.Yellow)
.Run(win =>
{
win.WriteLine("Hello, World!", 2, 2);
win.WriteLine("Press any key to exit...", 2, 4);
});
window.Show();
}
}
╔══════════════════════════════════════╗
║ Hello World Demo ║
╠══════════════════════════════════════╣
║ ║
║ ║
║ Hello, World! ║
║ ║
╚═Press any key to exit...═════════════╝
License
MIT License. Free to use, modify, and distribute.
| Product | Versions 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 is compatible. 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 is compatible. 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 is compatible. 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. |
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.2.0 | 174 | 10/30/2025 |
| 2.1.0 | 170 | 10/30/2025 |
| 2.1.0-patched | 164 | 10/30/2025 |
| 2.0.0 | 162 | 10/30/2025 |
| 1.2.0 | 158 | 10/30/2025 |
| 1.1.0 | 163 | 10/30/2025 |
| 1.0.0-pre-release | 156 | 10/30/2025 |