当前位置:网站首页>BTC-密码学原理
BTC-密码学原理
2022-07-03 05:08:00 【Adobee Chen】
前提需要掌握编程的基本技能:数组、链表、二叉树、哈希函数
参考资料: BitCoin and Cryptocurrency Technologies A Comprehensive Introduction、以太坊白皮书、黄皮书、源代码、Solidty文档
密码学中用到的hash函数称为 Cryptographic hash function,有两个重要的性质一个叫做Collision resistance
例如 x
y ,H(x)=H(y) 就叫做哈希碰撞(不同的输入,输出的结果是相同的)
1.密码学用的hash函数无法人为制造hash碰撞
2.密码学用的hash函数是单向的,不可逆的
举一个例子
当一个人预测明天股市的涨停,不能提前公开。因为如果这个人可能会引导股市涨跌的方向(大家一听他说明天哪哪个股票涨,大家就买那个股票),最好的办法是他将预测写在一张纸上,把这张纸交给公信机构。
对应数字世界,就是将这个x,进行hash(x)。等到明天开盘后,再用这个x判断。因为hash(x)是不可逆的,他不能篡改结果
边栏推荐
- Retirement plan fails, 64 year old programmer starts work again
- Current market situation and development prospect prediction of global direct energy deposition 3D printer industry in 2022
- 1094 the largest generation (25 points)
- Pan details of deep learning
- Kept hot standby and haproxy
- [research materials] 2022q1 game preferred casual game distribution circular - Download attached
- Yolov5 input (I) -- mosaic data enhancement | CSDN creative punch in
- Wechat applet distance and map
- "Hands on deep learning" pytorch edition Chapter II exercise
- leetcode406. Rebuild the queue based on height
猜你喜欢

M1 Pro install redis

Audio Focus Series: write a demo to understand audio focus and audiomananger

Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in

cookie session jwt
![[basic grammar] Snake game written in C language](/img/cb/83631ef3ccd7047ca42d33dc49bf90.jpg)
[basic grammar] Snake game written in C language

Thesis reading_ Chinese NLP_ ELECTRA
![[Yu Yue education] basic reference materials of interchangeability and measurement technology of Zhongyuan Institute of Technology](/img/f1/d0dc4dc3fe49a2d2cd9e452a0ce31e.jpg)
[Yu Yue education] basic reference materials of interchangeability and measurement technology of Zhongyuan Institute of Technology

Interface frequency limit access

Ueditor, FCKeditor, kindeditor editor vulnerability

ZABBIX monitoring of lamp architecture (3): zabbix+mysql (to be continued)
随机推荐
SSM framework integration
Compile and decompile GCC common instructions
Shuttle + Alluxio 加速内存Shuffle起飞
"Pthread.h" not found problem encountered in compiling GCC
Silent authorization login and registration of wechat applet
Market status and development prospect prediction of the global fire extinguisher industry in 2022
Shallow and first code
How to connect the network: Chapter 2 (Part 1): a life cycle of TCP connection | CSDN creation punch in
appium1.22.x 版本后的 appium inspector 需单独安装
Appium 1.22. L'Inspecteur appium après la version X doit être installé séparément
MySQL master-slave configuration
Analysis of proxy usage of ES6 new feature
[set theory] relationship properties (symmetry | symmetry examples | symmetry related theorems | antisymmetry | antisymmetry examples | antisymmetry theorems)
Current market situation and development prospect forecast of the global fire boots industry in 2022
Sprintf formatter abnormal exit problem
Market status and development prospect prediction of global neutral silicone sealant industry in 2022
Hire cashier (differential constraint)
Actual combat 8051 drives 8-bit nixie tube
1114 family property (25 points)
Dynamic programming - related concepts, (tower problem)