Skip to content

Commit 848e199

Browse files
committed
Add study notes for 2025-08-14
1 parent 0242fdd commit 848e199

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

shendongyang05.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@ timezone: UTC+8
1515
## Notes
1616

1717
<!-- Content_START -->
18+
# 2025-08-14
19+
20+
今天想要拓展知识,通过肖臻老师深度的了解了区块链和比特币的知识
21+
## 加密:哈希算法
22+
23+
性质一:collision resistance
24+
25+
性质二:hiding
26+
27+
性质三:puzzle friendly (difficult to solve , but easy to verify)
28+
29+
## 签名
30+
31+
账户中产生 公钥、私钥
32+
33+
前期采用对称加密——传递信息都经过加密,同时需要带着密钥,使用正确的密钥才能查看正确信息。
34+
35+
后期采用非对称加密——将信息通过对方公钥传递,公钥无需保密,在查看信息时,需要使用对应的账户的私钥才能查看正确信息。
36+
1837
# 2025-08-13
1938

2039
完成了智能合约的开发和交互,同时学习到了:在开发的过程中,为了避免重入攻击,在每次的交易时,需要先扣除余额在进行转账

0 commit comments

Comments
 (0)