Vrmac.Security 1.0.0

dotnet add package Vrmac.Security --version 1.0.0
                    
NuGet\Install-Package Vrmac.Security -Version 1.0.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="Vrmac.Security" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vrmac.Security" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Vrmac.Security" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vrmac.Security --version 1.0.0
                    
#r "nuget: Vrmac.Security, 1.0.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.
#:package Vrmac.Security@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vrmac.Security&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Vrmac.Security&version=1.0.0
                    
Install as a Cake Tool

Vrmac.Security

This library implements some higher-level cryptography-related functions on top of the .NET 10 standard library.

SecretBytes structure implements a RAII wrapper around array of bytes. It calls ZeroMemory when disposed.

SymmetricCrypto static class implements password-based encrypt/decrypt operations backed by AES-256 GCM. Designed to encrypt small blobs of bytes stored on disk.

BlobContainer static class implements functions to pack and unpack multiple byte blobs to/from a single one.

BackupStream class implements a one-way backup encryption scheme using ECDH key pairs on the NIST P-521 curve.
Call BackupKeyPair.generate function to generate a new key pair. Keep the private key away from the machine that produces backups, ideally completely offline.
Use the BackupDecrypt static class to decrypt previously encrypted files.

The BackupStream is designed for automatic daily backups where the server only has the public half of the key, so it can’t read or modify the content of previously encrypted backups even if someone finds an RCE bug in ASP.NET Core runtime.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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
1.0.0 49 9/30/2026