QuantumInteger 1.0.14

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

⚛️ Quantum Integer

QuantumInteger is a high-performance library designed for quantum-resistant integer arithmetic. Developed to bridge the gap between classical computing and post-quantum cryptography, it provides ultra-fast, secure types optimized for quantum-native operations.

✨ Key Features

Quantum-Native Types: Built-in support for specialized widths, including QInt33.

  • Memory Optimized: Leverages modern features like Span<T>, Memory<T>, and ref struct to ensure zero-allocation overhead where possible.
  • Post-Quantum Ready: Engineered for cryptographic resilience against quantum-era threats.
  • High Performance: Optimized for low-latency encryption and decryption cycles.
  • Hardware acceleration: The type supports hardware acceleration (requires Nvidia CUDA to be installed and enabled)

🚀 Getting Started

Installation Add the library to your project via the .NET CLI:

dotnet add package QuantumInteger

Basic Usage

The following example demonstrates how to generate a 33-bit quantum key and perform secure string encryption. Usage example:

// 1. Prepare your data
string input = "My custom string!!!";

// 2. Generate a 33-bit quantum key from a secret
QInt33 key = QInt33Encryptor.KeyFromString("my secret key");

// 3. Encrypt data (Returns a Base64 encoded string)
string encrypted = QInt33Encryptor.Encrypt(input, key);
Console.WriteLine($"Encrypted: {encrypted}");

// 4. Decrypt data
string decrypted = QInt33Encryptor.Decrypt(encrypted, key);
Console.WriteLine($"Decrypted: {decrypted}");
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

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.21 0 2/15/2026
1.0.20 0 2/15/2026
1.0.14 75 2/3/2026
1.0.13 75 2/3/2026
1.0.12 76 2/3/2026