BotCrypt.NetFramework 1.0.2

Encrypt & Decrypt Strings and Bytes with Password (.Net Framework)

Install-Package BotCrypt.NetFramework -Version 1.0.2
dotnet add package BotCrypt.NetFramework --version 1.0.2
<PackageReference Include="BotCrypt.NetFramework" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BotCrypt.NetFramework --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BotCrypt

Simple way to Encrypt or Dycrypt String and Files!

Installation Methodes

  • Search for "BotCrypt" at Nuget Package Manager in Visual Studio.
  • Run "Install-Package BotCrypt" at Package manager Console in Visual Studio.
  • Run "dotnet add package BotCrypt" at your Command Line.

Usage

  • First add Package Refrence
...
using BotCrypt.NetFramework;
...
  • Encrypting String
...
string Text = "Hello BotCrypt!";
string Password = "EncryptionPassword";
string EncryptedText = Crypter.EncryptString(Password, Text); // EGhw8RQ35r1AGg4fBuuKAQ==
...
  • Decrypting String
...
string EncryptedText = "EGhw8RQ35r1AGg4fBuuKAQ==";
string Password = "EncryptionPassword";
string Text = Crypter.DecryptString(Password, EncryptedText); // Hello BotCrypt!
...
  • Encrypting File
...
string FilePath = "Image.png";
byte[] FileBytes = File.ReadAllBytes(FilePath);
string Password = "EncryptionPassword";
string EncryptedFile = Crypter.EncryptByte(Password, FileBytes);

//Updating File With Encryped File
File.WriteAllText(FilePath, EncryptedFile);
...
  • Decrypting File
...
string FilePath = "Image.png";
string FileContent = File.ReadAllText(FilePath);
string Password = "EncryptionPassword";
byte[] DecryptedFile = Crypter.DecryptByte(Password, FileContent);

//Updating File With Decryped File
File.WriteAllBytes(FilePath, DecryptedFile);
...
©2019, All rights reserved, BotCrypt

BotCrypt

Simple way to Encrypt or Dycrypt String and Files!

Installation Methodes

  • Search for "BotCrypt" at Nuget Package Manager in Visual Studio.
  • Run "Install-Package BotCrypt" at Package manager Console in Visual Studio.
  • Run "dotnet add package BotCrypt" at your Command Line.

Usage

  • First add Package Refrence
...
using BotCrypt.NetFramework;
...
  • Encrypting String
...
string Text = "Hello BotCrypt!";
string Password = "EncryptionPassword";
string EncryptedText = Crypter.EncryptString(Password, Text); // EGhw8RQ35r1AGg4fBuuKAQ==
...
  • Decrypting String
...
string EncryptedText = "EGhw8RQ35r1AGg4fBuuKAQ==";
string Password = "EncryptionPassword";
string Text = Crypter.DecryptString(Password, EncryptedText); // Hello BotCrypt!
...
  • Encrypting File
...
string FilePath = "Image.png";
byte[] FileBytes = File.ReadAllBytes(FilePath);
string Password = "EncryptionPassword";
string EncryptedFile = Crypter.EncryptByte(Password, FileBytes);

//Updating File With Encryped File
File.WriteAllText(FilePath, EncryptedFile);
...
  • Decrypting File
...
string FilePath = "Image.png";
string FileContent = File.ReadAllText(FilePath);
string Password = "EncryptionPassword";
byte[] DecryptedFile = Crypter.DecryptByte(Password, FileContent);

//Updating File With Decryped File
File.WriteAllBytes(FilePath, DecryptedFile);
...
©2019, All rights reserved, BotCrypt

Dependencies

This package has 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 History

Version Downloads Last updated
1.0.2 181 11/5/2019
1.0.1 163 11/3/2019
1.0.0 154 11/3/2019