Blockchain 01
Overview
– BTC
– Bitcoin as a Currency
– The Components of the System
– Some of the Processes – Mining / Consensus
– The Software Protocol
– The History
– A Transaction Lifecycle
– Wallets
– Bitcoin as a Currency
– The Components of the System
– Some of the Processes – Mining / Consensus
– The Software Protocol
– The History
– A Transaction Lifecycle
– Wallets
– BTC
– 比特币作为一种货币
– 系统的组成部分
– 一些过程——挖掘/共识
– 软件协议
– 历史上
– 事务生命周期
– 钱包
– 比特币作为一种货币
– 系统的组成部分
– 一些过程——挖掘/共识
– 软件协议
– 历史上
– 事务生命周期
– 钱包
生词
Consensus : /kənˈsensəs/ 共识
Protocol : /ˈprəʊtəkɒl/ n.协议 v.以协议形式发布;拟定
BTC / Bitcoin
第一个区块链和加密货币
创建/出现于2009年
加密之父
推测是由中本聪创造的
Wiki链接
所有其他加密货币都被视为Alt-Coins
创建/出现于2009年
加密之父
推测是由中本聪创造的
Wiki链接
所有其他加密货币都被视为Alt-Coins
Satoshi Nakamoto
Wiki Link
PsudoName – Not Real Name
Reporters Did approach this individual but he denied ownership
There are possible individuals who may be responsible
Hal Finey (Cryptographic Pioneer)
Nick Szabo (Smart Contracts)
PsudoName – Not Real Name
Reporters Did approach this individual but he denied ownership
There are possible individuals who may be responsible
Hal Finey (Cryptographic Pioneer)
Nick Szabo (Smart Contracts)
Wiki链接
PsudoName -不是真实姓名
记者确实找到了此人,但他否认拥有所有权
有些人可能对此负责
哈尔·芬尼(密码学先驱)
Nick Szabo(智能合约)
PsudoName -不是真实姓名
记者确实找到了此人,但他否认拥有所有权
有些人可能对此负责
哈尔·芬尼(密码学先驱)
Nick Szabo(智能合约)
Alternative Theories Suggest :
SAMSUNG TOSHDBA Nakamichi MOTOROLA Some do Know , but the majority do not and may never know.
SAMSUNG TOSHDBA Nakamichi MOTOROLA Some do Know , but the majority do not and may never know.
有一种非主流观点认为,三星、东芝、Nakamichi、摩托罗拉之间可能存在某种不为大众所知的联系或秘密。虽然少部分人知道,但大多数人可能永远也不会知道。
In the Beginning
– The First Transaction Took Place in 2009.
– Jan 3, 2009 6:15 PMUTC
– The value of BTC was : $0 and the amount was 50btc
– If that transaction took place in Nov 2021 at the height of BTC value, the transaction would be worth 50 X 65,000$
– The Genesis Block
– Entire Price History
– Jan 3, 2009 6:15 PMUTC
– The value of BTC was : $0 and the amount was 50btc
– If that transaction took place in Nov 2021 at the height of BTC value, the transaction would be worth 50 X 65,000$
– The Genesis Block
– Entire Price History
第一笔交易发生在2009年。
2009年1月3日6:15 PMUTC
BTC的价值为:$0,数量为50btc
如果该交易发生在2021年11月BTC价值的最高点,那么该交易将价值50 X 65,000美元
创世纪区块
整个价格历史
2009年1月3日6:15 PMUTC
BTC的价值为:$0,数量为50btc
如果该交易发生在2021年11月BTC价值的最高点,那么该交易将价值50 X 65,000美元
创世纪区块
整个价格历史
What Else Happened at the start ?
### 右列(解释)
这里写对应的注释或补充说明。
这里写对应的注释或补充说明。
The Humour & Who Could Have Known ?
– Bitcoin Pizza Day – May 22nd
– In May, 2010 Laszlo Hanyecz set out to buy two large pizzas with bitcoin.
– The Post
– How Much was it worth Then and how Much is it worth now? Use BC
– In May, 2010 Laszlo Hanyecz set out to buy two large pizzas with bitcoin.
– The Post
– How Much was it worth Then and how Much is it worth now? Use BC
年 5 月 22 日是“比特币披萨日”,纪念 2010 年 Laszlo Hanyecz 用比特币买披萨的历史事件。文本提到他当时花了多少比特币买披萨,并提出问题:当时价值多少?现在价值多少?可以用比特币价格工具计算。
Technical Infrastructure 技术基础设施
– Peer to Peer (P2P)
– Decentralised
– Immutable
– Distributed, shared ledger of events
– What Applications do you think this tech
– would be Useful ?
– Decentralised
– Immutable
– Distributed, shared ledger of events
– What Applications do you think this tech
– would be Useful ?
“Peer to Peer (P2P)”
指点对点网络结构,即 没有中心服务器,所有参与者(节点)可以直接相互通信和交易。
“Decentralised”
去中心化,不依赖单一控制方或服务器。
意味着系统不容易被单点故障或单一机构控制。
“Immutable”
不可篡改。
一旦数据被记录,就无法修改或删除,保证记录的可信性。
“Distributed, shared ledger of events”
分布式、共享的账本或记录系统。
所有节点都持有同样的记录,任何交易或事件都在网络中同步。
这正是 区块链技术的核心特征。
指点对点网络结构,即 没有中心服务器,所有参与者(节点)可以直接相互通信和交易。
“Decentralised”
去中心化,不依赖单一控制方或服务器。
意味着系统不容易被单点故障或单一机构控制。
“Immutable”
不可篡改。
一旦数据被记录,就无法修改或删除,保证记录的可信性。
“Distributed, shared ledger of events”
分布式、共享的账本或记录系统。
所有节点都持有同样的记录,任何交易或事件都在网络中同步。
这正是 区块链技术的核心特征。
生词:
Immutable :/ɪˈmjuːtəb(ə)l/ adj.永恒的,不可改变的
ledger :/ˈledʒə(r)/ n.收支总账,分类账簿;石板墓盖;脚手架横杆;鱼饵定位坠子,固定底饵
v.用定位坠子钓鱼
A Ledger
– There exists some Issues with ledgers
– Susceptible to fraud
– Susceptible to human error
– Rely on intermediary to prevent double spend e.g. bank, paypal
– Full control out of the hands of the consumer
– In some cases the power of these intermediaries can result in over-extensions of power
– Paypal block payments to Wikileaks etc
– Susceptible to fraud
– Susceptible to human error
– Rely on intermediary to prevent double spend e.g. bank, paypal
– Full control out of the hands of the consumer
– In some cases the power of these intermediaries can result in over-extensions of power
– Paypal block payments to Wikileaks etc
这段话在讲 传统账本(ledgers)和中心化支付系统的问题与局限性,也就是为什么有些人觉得现有金融系统可能不够安全或者不够公平。具体意思可以拆解如下:
存在账本问题(There exists some Issues with ledgers)
传统账本(比如银行账簿)不是完美的,可能存在管理或技术上的漏洞。
容易被欺诈(Susceptible to fraud)
传统系统可能被人利用漏洞进行欺诈,比如伪造交易记录。
容易有人为错误(Susceptible to human error)
由于人工操作或记录错误,账目可能出错。
依赖中介来防止双重支付(Rely on intermediary to prevent double spend e.g. bank, paypal)
传统支付系统需要银行、PayPal 等中介来保证同一笔钱不会被花两次(double spend)。
消费者无法完全掌控资金(Full control out of the hands of the consumer)
用户对资金的控制权有限,需要依赖中介机构。
中介机构可能滥用权力(In some cases the power of these intermediaries can result in over-extensions of power)
中介有时会滥用权力,例如 PayPal 阻止对 Wikileaks 的付款,即使这可能不公平。
存在账本问题(There exists some Issues with ledgers)
传统账本(比如银行账簿)不是完美的,可能存在管理或技术上的漏洞。
容易被欺诈(Susceptible to fraud)
传统系统可能被人利用漏洞进行欺诈,比如伪造交易记录。
容易有人为错误(Susceptible to human error)
由于人工操作或记录错误,账目可能出错。
依赖中介来防止双重支付(Rely on intermediary to prevent double spend e.g. bank, paypal)
传统支付系统需要银行、PayPal 等中介来保证同一笔钱不会被花两次(double spend)。
消费者无法完全掌控资金(Full control out of the hands of the consumer)
用户对资金的控制权有限,需要依赖中介机构。
中介机构可能滥用权力(In some cases the power of these intermediaries can result in over-extensions of power)
中介有时会滥用权力,例如 PayPal 阻止对 Wikileaks 的付款,即使这可能不公平。
Cryptographic Beginnings 加密的开端
BTC is a paradigm
A collection of Technologies combined to provide a new tec / service
Distributed Computing
Peer to Peer
Digital Signatures
Consensus
Hashing Algorithms
A collection of Technologies combined to provide a new tec / service
Distributed Computing
Peer to Peer
Digital Signatures
Consensus
Hashing Algorithms
这段话在讲比特币(BTC)作为一种新范式(paradigm)——它不是单一技术,而是多种技术的组合,形成了一种新的技术体系或服务。具体拆解如下:
BTC is a paradigm / A collection of Technologies combined to provide a new tec / service
比特币本身代表一种新的思维模式或体系结构(paradigm),不是单一工具,而是多项技术结合起来提供新的服务(去中心化货币系统)。
Distributed Computing(分布式计算)
网络中的节点共同参与处理和验证交易,而不是依赖单一中央服务器。
Peer to Peer(点对点网络)
节点之间直接交换信息或价值,无需中心化中介(比如银行)。
Digital Signatures(数字签名)
利用密码学保证交易的真实性和不可篡改性,确保资金只能被合法持有者花费。
Consensus(共识机制)
网络通过某种算法(如 PoW 或 PoS)达成一致,决定哪些交易有效,避免双重支付。
Hashing Algorithms(哈希算法)
用于加密、生成唯一交易标识、防篡改,同时在挖矿和共识中起关键作用。
总结:这段话想表达,比特币是一个多技术融合的新系统:它结合了分布式计算、点对点网络、数字签名、共识机制和哈希算法,实现了一种以前不可能的、去中心化、不可篡改的货币和交易系统。
BTC is a paradigm / A collection of Technologies combined to provide a new tec / service
比特币本身代表一种新的思维模式或体系结构(paradigm),不是单一工具,而是多项技术结合起来提供新的服务(去中心化货币系统)。
Distributed Computing(分布式计算)
网络中的节点共同参与处理和验证交易,而不是依赖单一中央服务器。
Peer to Peer(点对点网络)
节点之间直接交换信息或价值,无需中心化中介(比如银行)。
Digital Signatures(数字签名)
利用密码学保证交易的真实性和不可篡改性,确保资金只能被合法持有者花费。
Consensus(共识机制)
网络通过某种算法(如 PoW 或 PoS)达成一致,决定哪些交易有效,避免双重支付。
Hashing Algorithms(哈希算法)
用于加密、生成唯一交易标识、防篡改,同时在挖矿和共识中起关键作用。
总结:这段话想表达,比特币是一个多技术融合的新系统:它结合了分布式计算、点对点网络、数字签名、共识机制和哈希算法,实现了一种以前不可能的、去中心化、不可篡改的货币和交易系统。
Digital Signature Non Repudiation 数字签名不可否认
左侧
右侧
**Consensus “To Achieve a Consensus” 达成共识 **
– BTC uses a POW consensus Mechanism
– Proof of Work
– There are several Variations of Consensus mechanisms across differing Blockchains.
– Ethereum recently converted to a POS , proof of stake.
– We will investigate some other Consensus Mechanisms as we progress.
– BTC First with POW
– Proof of Work
– There are several Variations of Consensus mechanisms across differing Blockchains.
– Ethereum recently converted to a POS , proof of stake.
– We will investigate some other Consensus Mechanisms as we progress.
– BTC First with POW
这段话的意思是在讲 比特币(BTC)使用的共识机制,以及不同区块链可能采用的其他共识机制,具体拆解如下:
BTC uses a POW consensus Mechanism / Proof of Work
比特币使用 工作量证明(Proof of Work, POW) 作为共识机制。
POW 的核心思想:网络中的节点通过计算复杂的数学题来竞争记账权,谁先完成谁就可以新增区块并获得奖励。
There are several Variations of Consensus mechanisms across differing Blockchains
不同的区块链采用不同的共识机制,不只是 POW,例如 POS(Proof of Stake,权益证明)、DPOS、PBFT 等。
Ethereum recently converted to a POS, proof of stake
以太坊最近从 POW 转向 POS(权益证明),改变了区块产生方式:验证者根据持币量和质押来获得记账权,而不再依赖大量计算。
We will investigate some other Consensus Mechanisms as we progress
后续会讨论其他共识机制的原理和应用。
BTC First with POW
强调比特币是 第一个采用 POW 的区块链,也是最早实践工作量证明的案例。
总结:这段话的核心意思是:比特币使用 工作量证明(POW) 来达成网络共识,而不同区块链可能采用不同机制(如 POS),以太坊就是一个从 POW 转向 POS 的例子。
BTC uses a POW consensus Mechanism / Proof of Work
比特币使用 工作量证明(Proof of Work, POW) 作为共识机制。
POW 的核心思想:网络中的节点通过计算复杂的数学题来竞争记账权,谁先完成谁就可以新增区块并获得奖励。
There are several Variations of Consensus mechanisms across differing Blockchains
不同的区块链采用不同的共识机制,不只是 POW,例如 POS(Proof of Stake,权益证明)、DPOS、PBFT 等。
Ethereum recently converted to a POS, proof of stake
以太坊最近从 POW 转向 POS(权益证明),改变了区块产生方式:验证者根据持币量和质押来获得记账权,而不再依赖大量计算。
We will investigate some other Consensus Mechanisms as we progress
后续会讨论其他共识机制的原理和应用。
BTC First with POW
强调比特币是 第一个采用 POW 的区块链,也是最早实践工作量证明的案例。
总结:这段话的核心意思是:比特币使用 工作量证明(POW) 来达成网络共识,而不同区块链可能采用不同机制(如 POS),以太坊就是一个从 POW 转向 POS 的例子。
Proof Of Work
Hashcash was proposed in 1997 by Adam Back and described more formally in Back’s 2002 paper “Hashcash – A Denial of Service Counter-Measure”.
Based on Adam Back’s Hashcash (2002) the PoW involves scanning for a value that when hashed, the hash begins with a number of zero bits.
Miners (which we will discuss in more detail later) confirm proof of work by incrementing a nonce in the block until a value is found that gives the required zero bits to solve the block’s hash.
This PoW also solves the problem of determining representation in majority decision making.
Proof-of-Work is essentially ‘one-CPU-one-Vote’. The majority decision is represented by the longest chain, which has the greatest PoW efforts invested in it.
To modify a past block, an attacker would have to redo the PoW of the block and all blocks after it and then catch up with and surpass the work of the honest nodes.
The likelihood of this diminishes exponentially as subsequent blocks are added.
Based on Adam Back’s Hashcash (2002) the PoW involves scanning for a value that when hashed, the hash begins with a number of zero bits.
Miners (which we will discuss in more detail later) confirm proof of work by incrementing a nonce in the block until a value is found that gives the required zero bits to solve the block’s hash.
This PoW also solves the problem of determining representation in majority decision making.
Proof-of-Work is essentially ‘one-CPU-one-Vote’. The majority decision is represented by the longest chain, which has the greatest PoW efforts invested in it.
To modify a past block, an attacker would have to redo the PoW of the block and all blocks after it and then catch up with and surpass the work of the honest nodes.
The likelihood of this diminishes exponentially as subsequent blocks are added.
这段话在讲比特币(BTC)中工作量证明(Proof of Work, POW)的原理和作用,具体内容拆解如下:
POW 的起源
POW 基于 Adam Back 在 2002 年提出的 Hashcash(实际上最早是 1997 年提出,用于抵御垃圾邮件和拒绝服务攻击)。
Hashcash 的核心思想:要求计算一个哈希值,使其前面有一定数量的零。
POW 的工作原理
矿工(miners)通过不断改变 nonce(随机数)来寻找满足条件的哈希值。
当找到一个哈希值,其前面有规定数量的零时,这个区块的工作量证明就算完成,区块被视为有效。
解决“多数决”问题
POW 提供了一种公平的决策方式:谁投入最多计算力,谁的区块链就更可信。
被称作 “one-CPU-one-vote”:每个计算单位对应一票,最长链代表了多数算力的意志。
防篡改能力
要修改某个历史区块,攻击者必须重做该区块及之后所有区块的 POW,并赶上甚至超过诚实节点的工作量。
随着新块不断加入,这种攻击的概率会指数级下降。
总结:
这段话核心讲述了 POW 的原理、投票机制和安全性:
POW 是通过计算哈希找到符合条件的区块来达成共识。
它让最长链代表网络多数意见(算力投票)。
它使篡改区块变得极其困难,保证了区块链的不可篡改性。
POW 的起源
POW 基于 Adam Back 在 2002 年提出的 Hashcash(实际上最早是 1997 年提出,用于抵御垃圾邮件和拒绝服务攻击)。
Hashcash 的核心思想:要求计算一个哈希值,使其前面有一定数量的零。
POW 的工作原理
矿工(miners)通过不断改变 nonce(随机数)来寻找满足条件的哈希值。
当找到一个哈希值,其前面有规定数量的零时,这个区块的工作量证明就算完成,区块被视为有效。
解决“多数决”问题
POW 提供了一种公平的决策方式:谁投入最多计算力,谁的区块链就更可信。
被称作 “one-CPU-one-vote”:每个计算单位对应一票,最长链代表了多数算力的意志。
防篡改能力
要修改某个历史区块,攻击者必须重做该区块及之后所有区块的 POW,并赶上甚至超过诚实节点的工作量。
随着新块不断加入,这种攻击的概率会指数级下降。
总结:
这段话核心讲述了 POW 的原理、投票机制和安全性:
POW 是通过计算哈希找到符合条件的区块来达成共识。
它让最长链代表网络多数意见(算力投票)。
它使篡改区块变得极其困难,保证了区块链的不可篡改性。
Hashing / SHA
Hashing , given from cryptography is an irreplaceable feature within the BTC Network.
It is used throughout
Verifying Transactions
Ensuring No Modifications / Immutability
Used to Perform Computational work
Those workings are then used for POW , proof of work
Demo of SHA-256 – SHA Calculator
It is used throughout
Verifying Transactions
Ensuring No Modifications / Immutability
Used to Perform Computational work
Those workings are then used for POW , proof of work
Demo of SHA-256 – SHA Calculator
哈希的不可替代性
哈希技术来源于密码学,是比特币网络中不可或缺的一部分。
哈希的用途
验证交易(Verifying Transactions):通过哈希保证交易数据未被篡改。
确保不可篡改性(Ensuring No Modifications / Immutability):区块链上的数据通过哈希相连,一旦数据被修改,哈希会变化,从而保证历史记录不可更改。
执行计算工作(Used to Perform Computational work):哈希计算是工作量证明(Proof of Work, POW)的核心部分。
与 POW 的关系
POW 的计算依赖哈希运算来找出满足条件的区块(例如前导零位),从而达成共识。
示例 / Demo
文中提到 SHA-256 – SHA Calculator,说明比特币使用 SHA-256 哈希算法,可以通过计算演示哈希的效果。
总结:
哈希在比特币中既用于安全验证,也用于生成 POW 所需的计算工作,是保证网络安全、不可篡改和共识机制的基础。
哈希技术来源于密码学,是比特币网络中不可或缺的一部分。
哈希的用途
验证交易(Verifying Transactions):通过哈希保证交易数据未被篡改。
确保不可篡改性(Ensuring No Modifications / Immutability):区块链上的数据通过哈希相连,一旦数据被修改,哈希会变化,从而保证历史记录不可更改。
执行计算工作(Used to Perform Computational work):哈希计算是工作量证明(Proof of Work, POW)的核心部分。
与 POW 的关系
POW 的计算依赖哈希运算来找出满足条件的区块(例如前导零位),从而达成共识。
示例 / Demo
文中提到 SHA-256 – SHA Calculator,说明比特币使用 SHA-256 哈希算法,可以通过计算演示哈希的效果。
总结:
哈希在比特币中既用于安全验证,也用于生成 POW 所需的计算工作,是保证网络安全、不可篡改和共识机制的基础。
Mining
This is the process by which new Bitcoin is added to the money supply. It also serves to protect the network against fraudulent transactions and double-spend and is based upon the key concepts discussed to this point.
Essentially, miners provide processing power to the network in exchange for the opportunity to earn bitcoin as reward.
Miners validate new transactions and record them on the blockchain, the global, distributed and shared ledger. Blocks are mined every 10 minutes, with a block containing all transactions since the last block was mined. Once the block is added to the blockchain the transactions are confirmed
Miners receive rewards for mining blocks; new coins for creating a new block and transaction fees for the transactions within the block.
The party who successfully mines the block is the party who first solves the Proof-of-Work algorithm
Essentially, miners provide processing power to the network in exchange for the opportunity to earn bitcoin as reward.
Miners validate new transactions and record them on the blockchain, the global, distributed and shared ledger. Blocks are mined every 10 minutes, with a block containing all transactions since the last block was mined. Once the block is added to the blockchain the transactions are confirmed
Miners receive rewards for mining blocks; new coins for creating a new block and transaction fees for the transactions within the block.
The party who successfully mines the block is the party who first solves the Proof-of-Work algorithm
这段话在讲比特币网络中矿工的工作机制和奖励机制,具体意思如下:
1.验证和记录交易
矿工负责验证新的交易,并将其记录到区块链上。区块链是一个全球分布式共享账本。每10分钟会生成一个新的区块,包含自上一个区块以来的所有交易。一旦区块被添加到区块链上,这些交易就被确认。
2.矿工奖励
矿工通过挖矿获得奖励:
新币奖励:创建新区块时获得新生成的比特币。
交易费用奖励:区块内交易支付的手续费。
3.工作量证明(Proof-of-Work)
成功挖出区块的矿工是第一个完成工作量证明算法的人,也就是说必须先解决复杂的数学问题才能获得奖励。
总结:这段话主要说明了矿工在比特币网络中的作用、区块生成周期、交易确认机制,以及挖矿奖励与工作量证明的关系。
1.验证和记录交易
矿工负责验证新的交易,并将其记录到区块链上。区块链是一个全球分布式共享账本。每10分钟会生成一个新的区块,包含自上一个区块以来的所有交易。一旦区块被添加到区块链上,这些交易就被确认。
2.矿工奖励
矿工通过挖矿获得奖励:
新币奖励:创建新区块时获得新生成的比特币。
交易费用奖励:区块内交易支付的手续费。
3.工作量证明(Proof-of-Work)
成功挖出区块的矿工是第一个完成工作量证明算法的人,也就是说必须先解决复杂的数学问题才能获得奖励。
总结:这段话主要说明了矿工在比特币网络中的作用、区块生成周期、交易确认机制,以及挖矿奖励与工作量证明的关系。
Difficulty & Rewards
The Current Reward : The current bitcoin block reward is composed of 6.25 newly generated coins per block.
当前的比特币区块奖励由每个区块新生成的 6.25 个比特币构成。
简单来说,就是:
当前奖励:指在说这句话的时候,矿工成功挖出一个新区块所能获得的主要奖励。
6.25 个新币:这是比特币协议预先设定好的数量。这个数量不是固定不变的,大约每四年会通过一次名为“减半”的事件而减少。
新生成的硬币:这些比特币是全新的,是作为对矿工工作的奖励而被“创造”出来的,而不是从其他用户那里收取的交易费。
所以,这句话精确地描述了在特定时期,矿工通过创建新区块所能获得的新币奖励的具体数额。
当前的比特币区块奖励由每个区块新生成的 6.25 个比特币构成。
简单来说,就是:
当前奖励:指在说这句话的时候,矿工成功挖出一个新区块所能获得的主要奖励。
6.25 个新币:这是比特币协议预先设定好的数量。这个数量不是固定不变的,大约每四年会通过一次名为“减半”的事件而减少。
新生成的硬币:这些比特币是全新的,是作为对矿工工作的奖励而被“创造”出来的,而不是从其他用户那里收取的交易费。
所以,这句话精确地描述了在特定时期,矿工通过创建新区块所能获得的新币奖励的具体数额。
哈希演示/ BTC功能演示
•SHA-256
•“The SHA (Secure Hash Algorithm) is one of a number of cryptographic hash functions. A cryptographic hash is like a signature for a text or a data file. SHA-256 algorithm generates an almost-unique, fixed size 256-bit (32-byte) hash. Hash is a one way function – it cannot be decrypted back. This makes it suitable for password validation, challenge hash authentication, anti-tamper, digital signatures.”
•“The SHA (Secure Hash Algorithm) is one of a number of cryptographic hash functions. A cryptographic hash is like a signature for a text or a data file. SHA-256 algorithm generates an almost-unique, fixed size 256-bit (32-byte) hash. Hash is a one way function – it cannot be decrypted back. This makes it suitable for password validation, challenge hash authentication, anti-tamper, digital signatures.”
sha – 256
SHA(安全哈希算法)是众多加密哈希函数之一。加密散列类似于文本或数据文件的签名。SHA-256算法生成一个几乎唯一的、固定大小的256位(32字节)哈希。哈希是一个单向函数——它不能被解密回来。这使得它适用于密码验证、挑战哈希认证、防篡改、数字签名。”
SHA(安全哈希算法)是众多加密哈希函数之一。加密散列类似于文本或数据文件的签名。SHA-256算法生成一个几乎唯一的、固定大小的256位(32字节)哈希。哈希是一个单向函数——它不能被解密回来。这使得它适用于密码验证、挑战哈希认证、防篡改、数字签名。”