ArkticFish.BitShiftEncryption 1.6.0

Encrypts and decrypts data.

Install-Package ArkticFish.BitShiftEncryption -Version 1.6.0
dotnet add package ArkticFish.BitShiftEncryption --version 1.6.0
<PackageReference Include="ArkticFish.BitShiftEncryption" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArkticFish.BitShiftEncryption --version 1.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ArkticFish.BitShiftEncryption, 1.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ArkticFish.BitShiftEncryption as a Cake Addin
#addin nuget:?package=ArkticFish.BitShiftEncryption&version=1.6.0

// Install ArkticFish.BitShiftEncryption as a Cake Tool
#tool nuget:?package=ArkticFish.BitShiftEncryption&version=1.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Added a little bit of performance boost.

Added streaming mode.

Example of reading part of an encrypted text file.

private static void DecryptStreamPart()
{
var info = new FileInfo("K:\history-enc.dat");
var decrypted = "";

var bytes = BitshiftEncryption.DecryptStream(info.FullName, "1234567890123456", 15500, 16500);

for (int j = 0; j < bytes.Length; j++)
    decrypted += Convert.ToChar(bytes[j]);

Console.WriteLine(decrypted);

Console.ReadLine();

}

Added a little bit of performance boost.

Added streaming mode.

Example of reading part of an encrypted text file.

private static void DecryptStreamPart()
{
var info = new FileInfo("K:\history-enc.dat");
var decrypted = "";

var bytes = BitshiftEncryption.DecryptStream(info.FullName, "1234567890123456", 15500, 16500);

for (int j = 0; j < bytes.Length; j++)
    decrypted += Convert.ToChar(bytes[j]);

Console.WriteLine(decrypted);

Console.ReadLine();

}

Release Notes

Version 1.6 brings streaming.

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.6.0 305 8/10/2019
1.5.1 236 8/9/2019
1.5.0 264 7/9/2019
1.1.1 274 3/11/2019
1.0.0 285 3/8/2019