Table of Contents

Enum EncryptionMode

Namespace
VisioForge.Core.Types.Output
Assembly
VisioForge.Core.dll

Specifies the encryption algorithm and mode used for secure media content protection. This enumeration defines the supported encryption standards with their associated key lengths and compatibility with different SDK versions.

public enum EncryptionMode

Fields

V8_AES128 = 0

AES-128 encryption mode, introduced and supported in SDK version 8. Uses the Advanced Encryption Standard with 128-bit keys for content protection.

Technical specifications:

  • Algorithm: Advanced Encryption Standard (AES)
  • Key length: 128 bits
  • Block size: 128 bits
  • Security level: Strong encryption suitable for most applications

Performance characteristics:

  • Faster encryption/decryption compared to AES-256
  • Lower computational overhead
  • Suitable for real-time streaming applications

Compatibility:

  • Supported in SDK v8.0 and later versions
  • Backward compatible with existing v8 implementations
  • Widely supported across platforms and devices

Use cases:

  • General content protection
  • Real-time streaming encryption
  • Applications with performance constraints
V9_AES256 = 1

AES-256 encryption mode, introduced in SDK version 9. Uses the Advanced Encryption Standard with 256-bit keys for maximum content protection.

Technical specifications:

  • Algorithm: Advanced Encryption Standard (AES)
  • Key length: 256 bits
  • Block size: 128 bits
  • Security level: Maximum encryption strength for critical applications

Performance characteristics:

  • Slightly slower encryption/decryption compared to AES-128
  • Higher computational overhead due to increased key length
  • Still suitable for most real-time applications with modern hardware

Compatibility:

  • Requires SDK v9.0 or later
  • Enhanced security features available in v9+
  • May not be compatible with older player implementations

Use cases:

  • High-security content protection
  • Enterprise and government applications
  • Regulatory compliance requirements (FIPS, Common Criteria)
  • Long-term content archival with maximum security

Remarks

The encryption mode determines the security level and compatibility of the encrypted content:

Security levels:

  • AES-128: Provides strong security with good performance
  • AES-256: Provides maximum security with slightly higher computational overhead

SDK version compatibility:

  • V8_AES128: Compatible with SDK version 8 and later
  • V9_AES256: Compatible with SDK version 9 and later

Choose the encryption mode based on:

  • Security requirements of your application
  • Performance constraints
  • Target SDK version compatibility
  • Regulatory compliance requirements