Blockchain Hash Function via Locking Script
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain systems have limited scripting capabilities, restricting the range of hash functions that can be implemented, and current hash functions are computationally expensive, making it desirable to expand the range of hash functions while maintaining stability and trustworthiness.
Innovation Solution
A computer-implemented method using blockchain transactions to generate a hash function by performing specific mathematical operations, such as multiplication, addition, and modulo operations, to create a new hash result, which is less computationally expensive and can be used in place of existing hash functions like OP_HASH160.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If existing hash functions (e.g., OP_HASH160) are used in blockchain transactions, then cryptographic security is maintained, but computational cost and processing time increase
Solution Approach 1:
The patent changes the parameters of the hash function by using a simplified algorithm with different mathematical operations (multiplication, addition, modulo) compared to traditional cryptographic hash functions. This parameter change reduces computational complexity while maintaining sufficient security for blockchain address generation.
Solution Approach 2:
The patent employs a computationally cheaper hash function that can be executed quickly and discarded, replacing expensive cryptographic operations. The simplified hash function consumes fewer computational resources and can be performed multiple times without significant energy cost.
2Adaptability or versatility
If the range of hash functions is expanded in blockchain scripting language, then functionality and versatility improve, but system complexity and stability risks increase
Solution Approach 1:
The patent creates a universal hash function implementation that can serve multiple purposes within the blockchain system - generating addresses, creating hashes for transaction data, and potentially other cryptographic applications. This single versatile function reduces the need for multiple specialized hash functions.
Solution Approach 2:
The patent segments the hash function implementation into distinct mathematical operations (multiplication by first parameter, addition of second parameter, modulo by third parameter) that can be independently executed and verified. This segmentation makes the complex function more manageable and easier to validate within the scripting language.
Data Source
AI summary
A computer-implemented method of implementing a hash function (HF) using blockchain transactions, wherein the method is performed by a first party and comprises: generating a first blockchain transaction; and submitting the first blockchain transaction to one or more nodes of a blockchain transaction, wherein the first blockchain transaction comprises a locking script configured to, when executed together with an unlocking script of a second blockchain transaction comprising a target data item, generate a hash result of the target data item.


