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
Jul 24, 2015
Latest stable version

Install

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

Frameworks

.NETFramework4.5

Dependencies

protobuf-net
.NETFramework4.5
[2.0.0.668, )
libsodium-net
.NETFramework4.5
[0.9.0-beta3, )

Adoption guide

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

This version is marked prerelease. Validate its API and upgrade path before production use.

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.