/

Kyber1024

Kyber1024 is ByteHide Storage's default quantum-resistant algorithm, providing the highest level of security in the Kyber family.

Overview

Kyber1024 is a lattice-based key encapsulation mechanism (KEM) that offers:

  • NIST Level 5 security (highest)
  • Excellent performance characteristics
  • Compact key and ciphertext sizes
  • Proven security against quantum attacks

Implementation

Enable Kyber1024 protection:

// Method 1: Default initialization (Kyber1024)
var storage = new StorageManager("<token>", "<phrase>");

// Method 2: Explicit initialization
var storage = new StorageManager(
    "<token>",
    "<phrase>",
    quantumAlgorithm: QuantumAlgorithmType.Kyber1024
);

// Use in operations
await storage
    .EncryptWithQuantum()
    .Set("secure/critical-data.dat", sensitiveData);

Security Parameters

Kyber1024 specifications:

  • Public key size: 1,568 bytes
  • Private key size: 3,168 bytes
  • Ciphertext size: 1,568 bytes
  • Security level: 256 bits (post-quantum)

Performance Profile

Performance characteristics:

// Optimal usage pattern
var storage = new StorageManager(
    quantumAlgorithm: QuantumAlgorithmType.Kyber1024
);

// Batch operations for better performance
var secureStorage = storage
    .In("secure")
    .EncryptWithQuantum();

await secureStorage.Set("file1.dat", data1);
await secureStorage.Set("file2.dat", data2);

Performance Impact

While Kyber1024 provides maximum security, it has a minimal performance impact compared to traditional encryption:

  • ~2ms key generation
  • ~1ms encapsulation
  • ~1ms decapsulation

Use Cases

Ideal for:

  • Financial data
  • Healthcare records
  • Intellectual property
  • Long-term data storage
  • Critical infrastructure

Best Practices

  1. Data Classification

    • Use for highly sensitive data
    • Consider Kyber768 for medium-sensitivity data
    • Reserve for data requiring long-term security
  2. Implementation

    // Combine with standard encryption
    await storage
        .Encrypt()           // Standard AES
        .EncryptWithQuantum() // Kyber1024
        .Set("ultra-secure.dat", criticalData);
    
  3. Performance Optimization

    • Cache frequently accessed data
    • Use batch operations when possible
    • Consider file size in encryption strategy

Security Consideration

Kyber1024 provides the highest security level but requires more computational resources. Balance security needs with performance requirements for your specific use case.

Comparison

FeatureKyber1024Kyber768Kyber512
Security LevelMaximumHighStandard
PerformanceGoodBetterBest
Key SizeLargerMediumSmaller
Use CaseCritical DataSensitive DataGeneral Use

Algorithm Choice

Choose Kyber1024 when:

  • Maximum security is required
  • Performance is not critical
  • Long-term data protection is needed
  • Compliance requires highest security
Previous
Kyber768