当前位置:网站首页>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)是不可逆的,他不能篡改结果
边栏推荐
- 动态规划——相关概念,(数塔问题)
- JS scope
- Esp32-c3 learning and testing WiFi (II. Wi Fi distribution - smart_config mode and BlueIf mode)
- document. The problem of missing parameters of referer is solved
- Huawei personally ended up developing 5g RF chips, breaking the monopoly of Japan and the United States
- Shuttle + Alluxio 加速内存Shuffle起飞
- Market status and development prospect prediction of global colorimetric cup cover industry in 2022
- Promise
- Market status and development prospect prediction of the global fire extinguisher industry in 2022
- Oracle SQL table data loss
猜你喜欢

Thesis reading_ Chinese NLP_ ELECTRA

Shuttle + Alluxio 加速内存Shuffle起飞
![[batch dos-cmd command - summary and summary] - CMD window setting and operation command - close CMD window and exit CMD environment (exit, exit /b, goto: EOF)](/img/ce/d6f4fb30727e7436b6443537429ad4.png)
[batch dos-cmd command - summary and summary] - CMD window setting and operation command - close CMD window and exit CMD environment (exit, exit /b, goto: EOF)

The principle is simple, but I don't know how to use it? Understand "contemporaneous group model" in one article
![[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

Compile and decompile GCC common instructions

BIO、NIO、AIO区别

Gbase8s unique index and non unique index
![[basic grammar] C language uses for loop to print Pentagram](/img/9e/021c6c0e748e0981d4233f74c83e76.jpg)
[basic grammar] C language uses for loop to print Pentagram

音频焦点系列:手写一个demo理解音频焦点与AudioMananger
随机推荐
Go language interface learning notes
Market status and development prospects of the global IOT active infrared sensor industry in 2022
JS string and array methods
Current market situation and development prospect forecast of the global fire boots industry in 2022
leetcode406. Rebuild the queue based on height
Flutter monitors volume to realize waveform visualization of audio
编译GCC遇到的“pthread.h” not found问题
1094 the largest generation (25 points)
Kept hot standby and haproxy
appium1.22.x 版本后的 appium inspector 需单独安装
Market status and development prospect prediction of global SoC Test Platform Industry in 2022
Shuttle + Alluxio 加速内存Shuffle起飞
Concurrent operation memory interaction
1095 cars on campus (30 points)
Gbase8s composite index (I)
@RequestMapping
Wechat applet distance and map
Silent authorization login and registration of wechat applet
【实战项目】自主web服务器
Distinguish between releases and snapshots in nexus private library