Dynamic Digital Signatures for Code Integrity via Hash Chains

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies fail to effectively secure computer code from tampering, particularly in shared environments, making it vulnerable to malicious insertions, deletions, or changes by hackers.

Innovation Solution

A system and method that dynamically generate specialized digital signatures at predetermined locations throughout the computer code, creating a tamper-proof blockchain-type structure by linking these signatures in a hash chain, thereby ensuring the integrity and authenticity of the code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional code storage methods are used in shared environments, then code accessibility and collaboration are improved, but code security and tamper resistance deteriorate

Engineering Contradiction:
Improvecode accessibilityVSAvoidcode security
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The code is divided into multiple code blocks, each with its own digital signature. This segmentation allows the code to be stored and accessed in a distributed manner while maintaining security through individual block verification via hash chains.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Digital signatures act as intermediaries between the code blocks and the verification system. These signatures, linked through hash chains, provide a trusted mechanism for verifying code integrity without requiring centralized control, enabling secure collaboration.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If digital signatures are inserted throughout the code, then code integrity and tamper detection are improved, but system complexity and overhead increase

Engineering Contradiction:
Improvecode integrityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

By segmenting code into blocks with individual signatures, the system manages complexity through modular organization. Each block can be independently verified, making the overall verification process more manageable than treating the entire codebase as a single unit.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies digital signatures selectively at code block boundaries rather than throughout every line of code. This partial application provides sufficient integrity verification while reducing the overhead and complexity associated with full-line signature insertion.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If hash chains are used to link digital signatures, then tamper detection capability is improved, but processing time and computational overhead increase

Engineering Contradiction:
Improvetamper detection capabilityVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The hash chain verification processes code blocks sequentially in segments rather than requiring complete re-verification of entire codebases. This allows for faster detection of tampering at specific locations without processing the entire codebase each time.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Digital signatures and hash chain links are pre-computed and attached to code blocks during the code creation or update process. This preliminary action eliminates the need for complex real-time computation during verification, reducing processing time while maintaining detection capability.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12284269B2System and method for securing computer code using dynamically generated digital signatures
Publication Date: 2025.04.22 PROTECTEDBY AI INC
  • US12284269B2 patent drawing
  • US12284269B2 patent drawing
  • US12284269B2 patent drawing

AI summary

Aspects of the present disclosure provide systems, methods, apparatus, and computer-readable storage media that support securing code by dynamically inserting digital signatures in target code and maintaining the digital signatures in a linked structure (e.g., a blockchain-type structure).