Skip to main content
StreamCryptor package icon

StreamCryptor

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.

Total Downloads
33.2K
33,211
Published
Jan 7, 2017
Latest stable version

Install

.NET CLI
dotnet add package StreamCryptor --version 0.5.1
Package Manager Console
Install-Package StreamCryptor -Version 0.5.1
PackageReference
<PackageReference Include="StreamCryptor" Version="0.5.1" />

Frameworks

.NETFramework4.5

Dependencies

libsodium-net
.NETFramework4.5
[0.10.0, )
protobuf-net
.NETFramework4.5
[2.1.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.