UvfLib.Core 1.0.4

dotnet add package UvfLib.Core --version 1.0.4
                    
NuGet\Install-Package UvfLib.Core -Version 1.0.4
                    
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="UvfLib.Core" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UvfLib.Core" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="UvfLib.Core" />
                    
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 UvfLib.Core --version 1.0.4
                    
#r "nuget: UvfLib.Core, 1.0.4"
                    
#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 UvfLib.Core@1.0.4
                    
#: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=UvfLib.Core&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=UvfLib.Core&version=1.0.4
                    
Install as a Cake Tool

UvfLib.Core - Cryptographic Core Library

Overview

UvfLib.Core is the open-source cryptographic foundation for Universal Vault Format (UVF) and Cryptomator vault operations. This library provides low-level APIs for secure file encryption, decryption, and vault management.

Features

  • UVF Format Support: Complete implementation of Universal Vault Format v3
  • Cryptomator Compatibility: Full support for Cryptomator v8 vault format
  • Strong Cryptography: AES-GCM, AES-SIV, HKDF, and other industry-standard algorithms
  • Cross-Platform: Built on .NET Standard 2.0 for maximum compatibility
  • Open Source: AGPL-3.0 licensed for transparency and security auditing (commercial licenses available on request)

Architecture

Core Components

  • Api/ - Public interfaces and contracts
  • Common/ - Cryptographic utilities and helpers
  • V3/ - UVF format implementation
  • CryptomatorV8/ - Cryptomator compatibility layer

Key Classes

  • Cryptor - Main cryptographic operations interface
  • FileContentCryptor - File encryption/decryption
  • DirectoryContentCryptor - Directory structure encryption
  • FileHeaderCryptor - File header management
  • Masterkey - Key derivation and management

Usage

This is a low-level library intended for integration into higher-level vault management systems. For easier-to-use APIs, see the companion UvfLib.FileSystem package.

// Example: Creating a cryptor for UVF format
var factory = new CryptoFactoryImpl();
var masterkey = UVFMasterkeyImpl.Create(password, vaultPath);
var cryptor = factory.CreateCryptor(masterkey);

// Use cryptor for file operations...

Security

This library implements cryptographic operations following industry best practices:

  • Authenticated encryption (AES-GCM)
  • Deterministic authenticated encryption (AES-SIV) for filenames
  • Secure key derivation (HKDF, SCrypt)
  • Constant-time operations where applicable
  • Secure memory handling

License

GNU Affero General Public License v3.0 (AGPL-3.0) — see the LICENSE file at the repository root for details. Alternative commercial licenses are available upon request (contact info@smartinventure.com).

Contributing

This project welcomes contributions. Please ensure all cryptographic changes are thoroughly reviewed and tested.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on UvfLib.Core:

Package Downloads
UvfLib.Vault

Vault stream + file-header orchestration for UVF and Cryptomator vaults (built on UvfLib.Core).

UvfLib.Master

UVF/Cryptomator IStorage encryption decorators (managed). The Release build also produces the native "TitanVault" AOT facade.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 0 6/19/2026
1.0.3 0 6/19/2026
1.0.0 48 6/17/2026