StreamCryptor 0.4.0

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

// Install StreamCryptor as a Cake Tool
#tool nuget:?package=StreamCryptor&version=0.4.0

You can use StreamCryptor to encrypt and decrypt files without size limit and the need to load every file completely into memory.

StreamCryptor uses FileStream to read and write files in chunks, there is also an asynchronous implementations for progress reporting available.

Files are encrypted into SCCEF (StreamCryptor Chunked Encrypted File) format.

Every file contains an EncryptedFileHeader some EncryptedFileChunks and an EncryptedFileFooter to prevent file manipulation.

The file serialization is realised with Google`s protobuf, it has a small overhead and offers an automatic length prefix for all file parts.

All cryptographic operations are performed via libsodium-net (and thus libsodium).

For more details and examples visit the github project site.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.5.1 4,737 1/7/2017
0.5.0 1,348 12/10/2015
0.5.0-beta2 966 8/16/2015
0.5.0-beta1 1,036 7/24/2015
0.4.0 1,171 5/5/2015
0.3.2-beta2 1,373 1/2/2015
0.3.2-beta 1,058 12/1/2014
0.3.1-beta 1,486 11/2/2014
0.3.0 1,165 10/9/2014
0.2.5-beta 921 9/30/2014
0.2.4-beta 952 9/28/2014
0.2.2-beta 943 9/24/2014
0.2.1-beta 928 9/22/2014
0.2.0 1,176 9/17/2014
0.1.18 1,046 9/16/2014
0.1.16 1,094 9/15/2014
0.1.15 1,315 9/15/2014
0.1.14 1,124 9/15/2014

0.4.0
* SCCEF Protocol Version 2 (not backward compatible)
* Updated libsodium-net to 0.7.0 (libsodium v.1.0.2)
0.3.2-beta2
* Updated libsodium to 0.7.0-beta2
0.3.2
* Updated libsodium to 0.7.0-beta1 (thread-safe version)
* Added overloaded method to decrypt into memory (experimental)
0.3.1
* Added method to decrypt into memory (experimental)
0.3.0
* Updated libsodium to 0.6.0 (stable)
0.2.5
* Updated libsodium to 0.6.0-beta3
* Fixes PInvokeStackImbalance
0.2.4
* Code improvements
* Updated libsodium to 0.6.0-beta2
0.2.2
* Changed Namespace to Cryptor
* Code improvements
0.2.1
* Updated libsodium to 0.6.0-beta1
0.2
* Added overloads for asynchronous methods
* Changed internal use of synchronous methods
0.1.18
* Added asynchronous methods (beta)
* Changed TargetFrameworkVersion from v4.0 to v4.5
0.1.17
* no release, just more tests
0.1.16
* There was a bug on decrypting files with external private keys
0.1.15
* Changed TargetFrameworkVersion from v4.5 to v4.0