@1007477689
2020-07-30T17:44:17.000000Z
字数 1084
阅读 475
Bitcoin
The first cryptographic primitive that we will need to understand is a cryptographic hash function.A hash function is a mathematical function with the following three properties:
Collision-resistance: A hash function is said to be collision resistant if it is infeasible to find two values, and , such that , yet .
A hash function is hiding if: when a secret value is chosen from a probability distribution that has high min-entropy, then given it is infeasible to find .
A hash function is said to be puzzle-friendly if for every possible n-bit output value , if is chosen from a distribution with high min-entropy, then it is infeasible to find such that H(k ‖ x) = y in time significantly less than