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.

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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.6.0 57 8/10/2019
1.5.1 53 8/9/2019
1.5.0 68 7/9/2019
1.1.1 87 3/11/2019
1.0.0 98 3/8/2019