Module encryption

Source
Expand description

Nikon encryption key management and ProcessNikonEncrypted foundation

Trust ExifTool: This code translates ExifTool’s Nikon encryption system verbatim.

ExifTool Reference: lib/Image/ExifTool/Nikon.pm ProcessNikonEncrypted function

Nikon’s encryption system uses multiple keys derived from camera metadata:

  • Serial number (tag 0x001d) as primary encryption key
  • Shutter count (tag 0x00a7) as secondary encryption key
  • Model-specific decryption algorithms

Phase 1 Implementation: Key management and detection only Phase 2 Implementation: Encrypted section detection and cataloging Phase 3+ Implementation: Actual decryption algorithms (future milestone)

Structs§

NikonEncryptionKeys
Nikon encryption key management system ExifTool: Nikon.pm encryption key storage and validation

Functions§

is_encrypted_nikon_tag
Check if a tag ID represents encrypted Nikon data ExifTool: Nikon.pm encrypted tag identification
process_encrypted_sections
Process encrypted Nikon data sections ExifTool: Nikon.pm ProcessNikonEncrypted function
process_nikon_encrypted
ProcessNikonEncrypted skeleton - detection and key validation only ExifTool: Nikon.pm ProcessNikonEncrypted function (Phase 1: detection only)
validate_encryption_keys
Validate encryption keys for specific camera model ExifTool: Model-specific key validation logic