Hash-Derived Key Refresh for Distributed Application Packets

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed applications face challenges in efficiently generating and refreshing encryption keys across multiple nodes due to scalability and efficiency issues, particularly vulnerability to replay attacks, which conventional key exchange protocols cannot effectively address.

Innovation Solution

Each node independently generates a new encryption key from an existing key using a cryptographic hash function, maintaining both keys until a collective operation completes, thereby eliminating the need for pair-wise key exchange and mitigating replay attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional pair-wise key exchange protocols are used in distributed applications, then key security can be maintained, but system scalability and efficiency deteriorate due to the complexity of managing keys across multiple nodes

Engineering Contradiction:
Improvekey securityVSAvoidkey management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

Each node independently generates its own encryption keys using a cryptographic hash function applied to a shared secret, eliminating the need for pair-wise key exchange between nodes. The shared secret is derived from a collective operation result, allowing nodes to autonomously manage their keys without external coordination.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The key management system is segmented into independent per-node key generation processes. Instead of a centralized key exchange protocol involving all node pairs, each node independently derives and manages its own key material, reducing the overall system complexity from O(n²) pair-wise keys to O(n) independent key derivations.

Inventive Principle:
Principle #1Segmentation

2Reliability

If encryption keys are frequently refreshed to prevent replay attacks, then security against replay attacks improves, but communication overhead and processing time increase

Engineering Contradiction:
Improvereplay attack resistanceVSAvoidkey refresh overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Encryption keys are refreshed periodically based on collective operation milestones rather than continuously. The system uses a counter mechanism where keys are updated at predetermined intervals (e.g., every 1000 collective operations), providing replay attack protection while minimizing the frequency of key refresh operations and associated overhead.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

Nodes pre-compute and cache multiple key pairs in advance using the hierarchical key derivation structure. When a key refresh is needed, nodes can quickly switch to the next pre-computed key pair without performing expensive cryptographic operations at the moment of refresh, reducing processing time overhead.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If independent key generation at each node is implemented, then key distribution efficiency improves, but ensuring all nodes synchronize to the same key version becomes more difficult

Engineering Contradiction:
Improvekey distribution efficiencyVSAvoidkey version synchronization
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The system implements a feedback mechanism using collective operations (barriers, reductions) to synchronize key version information across all nodes. After each collective operation, nodes exchange and agree upon the current key counter value, ensuring all nodes transition to the same key version simultaneously. This feedback loop maintains synchronization without requiring separate key distribution protocols.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Key synchronization is merged with existing collective operation infrastructure. Instead of implementing separate key distribution and synchronization protocols, the system combines key version agreement into the same communication and coordination mechanisms already used for distributed computation, eliminating redundant operations and ensuring consistency.

Inventive Principle:
Principle #5Merging (Combining)

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach ensures secure communication by invalidating replayed packets and supporting retransmission of lost packets, enhancing security and efficiency in key management for distributed applications.

Implementation Method 1

Each node independently generates a new encryption key from an existing key using a cryptographic hash function

Methodology Applied
Scientific EffectCryptographic hash function:

Data Source

PatentUS12452220B2Efficient key management in distributed application
Publication Date: 2025.10.21 HEWLETT PACKARD ENTERPRISE DEV LP
  • US12452220B2 patent drawing
  • US12452220B2 patent drawing
  • US12452220B2 patent drawing

AI summary

An apparatus facilitating efficient key refresh in a node is provided. During operation, the apparatus can determine a collective operation initiated by the node. The node can include a processor and can be in a distributed system comprising a plurality of nodes. The collective operation can be performed by a subset of the plurality of nodes in conjunction with each other. The apparatus can generate a new key based on a previous key maintained at the apparatus. Here, a respective key can be used for encrypting an inter-node packet in the distributed system. The apparatus can maintain the new and previous keys for the duration of the collective operation. Either of the new and previous keys can be used for decrypting messages received at the apparatus from other nodes of the distributed system. Upon determining a threshold point of the collective operation, the apparatus can discard the previous key.