Home Common Problem The cryptographic technology of blockchain includes digital signature algorithm and what algorithm

The cryptographic technology of blockchain includes digital signature algorithm and what algorithm

Jun 10, 2021 pm 05:10 PM
Blockchain Hash algorithm cryptography

The cryptographic technology of blockchain includes digital signature algorithm and hash algorithm. The digital signature algorithm is a subset of the digital signature standard, which represents a specific public key algorithm used only for digital signatures; the hash algorithm is an algorithm that maps binary plaintext of any length into a shorter binary string, and is different from It is difficult to map the plaintext to the same hash value.

The cryptographic technology of blockchain includes digital signature algorithm and what algorithm

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Cryptography technology is the core of blockchain technology. The cryptographic technology of blockchain includes digital signature algorithm and hash algorithm.

Digital signature algorithm

The digital signature algorithm is a subset of the digital signature standard, which represents the A specific public key algorithm. The key is run on the message hash generated by SHA-1: to verify a signature, the hash of the message is recalculated, the signature is decrypted using the public key and the results are compared. The abbreviation is DSA.

Digital signature is a special form of electronic signature. So far, at least more than 20 countries have passed laws recognizing electronic signatures, including the European Union and the United States. my country's electronic signature law was adopted at the 11th meeting of the Standing Committee of the 10th National People's Congress on August 28, 2004. . A digital signature is defined in the ISO 7498-2 standard as: “Some data appended to a data unit, or a cryptographic transformation made to the data unit, which allows the recipient of the data unit to confirm the source and origin of the data unit. The integrity of the data unit and protects the data from forgery by a person (e.g. the recipient)”. The digital signature mechanism provides an identification method to solve problems such as forgery, denial, impersonation and tampering. It uses data encryption technology and data transformation technology to enable both parties to send and receive data to meet two conditions: the receiver can identify what the sender claims. Identity; the sender cannot later deny that it sent the data.

Digital signature is an important branch of cryptography theory. It is proposed to sign electronic documents to replace handwritten signatures on traditional paper documents, so it must have 5 characteristics.

(1) The signature is credible.

(2) The signature cannot be forged.

(3) The signature is not reusable.

(4) Signed files are immutable.

(5) The signature is non-repudiation.

Hash algorithm

Hash is to convert input of any length (also called pre-mapping, pre-image) through The hash algorithm converts the data into a fixed-length output, which is the hash value. This transformation is a compressed mapping, where the space of hash values ​​is usually much smaller than the space of inputs. Different inputs may hash to the same output, but the input values ​​cannot be deduced in reverse. Simply put, it is a function that compresses a message of any length into a message digest of a fixed length.

Hash algorithm is a one-way cryptographic system, that is, it is an irreversible mapping from plaintext to ciphertext, with only encryption process and no decryption process. At the same time, the hash function can change an input of any length to obtain a fixed-length output. The one-way characteristics of the hash function and the fixed length of the output data allow it to generate messages or data.

Take the Bitcoin blockchain as a representative, in which secondary hashing is used many times in the workload proof and key encoding process, such as SHA(SHA256(k)) or RIPEMD160(SHA256( K)), the advantage of this method is that it increases the workload or increases the difficulty of cracking if the protocol is not clear.

Represented by the Bitcoin blockchain, the two main hash functions used are:

1.SHA-256, which is mainly used to complete PoW (proof of work) calculations;

2.RIPEMD160, mainly used to generate Bitcoin addresses. As shown in Figure 1 below, the process of generating an address from a public key for Bitcoin.

The cryptographic technology of blockchain includes digital signature algorithm and what algorithm

For more related knowledge, please visit the FAQ column!

The above is the detailed content of The cryptographic technology of blockchain includes digital signature algorithm and what algorithm. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What are the recommended websites for virtual currency app software? What are the recommended websites for virtual currency app software? Mar 31, 2025 pm 09:06 PM

This article recommends ten well-known virtual currency-related APP recommendation websites, including Binance Academy, OKX Learn, CoinGecko, CryptoSlate, CoinDesk, Investopedia, CoinMarketCap, Huobi University, Coinbase Learn and CryptoCompare. These websites not only provide information such as virtual currency market data, price trend analysis, etc., but also provide rich learning resources, including basic blockchain knowledge, trading strategies, and tutorials and reviews of various trading platform APPs, helping users better understand and make use of them

How to roll positions in digital currency? What are the digital currency rolling platforms? How to roll positions in digital currency? What are the digital currency rolling platforms? Mar 31, 2025 pm 07:36 PM

Digital currency rolling positions is an investment strategy that uses lending to amplify trading leverage to increase returns. This article explains the digital currency rolling process in detail, including key steps such as selecting trading platforms that support rolling (such as Binance, OKEx, gate.io, Huobi, Bybit, etc.), opening a leverage account, setting a leverage multiple, borrowing funds for trading, and real-time monitoring of the market and adjusting positions or adding margin to avoid liquidation. However, rolling position trading is extremely risky, and investors need to operate with caution and formulate complete risk management strategies. To learn more about digital currency rolling tips, please continue reading.

How to calculate the transaction fee of gate.io trading platform? How to calculate the transaction fee of gate.io trading platform? Mar 31, 2025 pm 09:15 PM

The handling fees of the Gate.io trading platform vary according to factors such as transaction type, transaction pair, and user VIP level. The default fee rate for spot trading is 0.15% (VIP0 level, Maker and Taker), but the VIP level will be adjusted based on the user's 30-day trading volume and GT position. The higher the level, the lower the fee rate will be. It supports GT platform coin deduction, and you can enjoy a minimum discount of 55% off. The default rate for contract transactions is Maker 0.02%, Taker 0.05% (VIP0 level), which is also affected by VIP level, and different contract types and leverages

On which platform is web3 transaction? On which platform is web3 transaction? Mar 31, 2025 pm 07:54 PM

This article lists the top ten well-known Web3 trading platforms, including Binance, OKX, Gate.io, Kraken, Bybit, Coinbase, KuCoin, Bitget, Gemini and Bitstamp. The article compares the characteristics of each platform in detail, such as the number of currencies, trading types (spot, futures, options, NFT, etc.), handling fees, security, compliance, user groups, etc., aiming to help investors choose the most suitable trading platform. Whether it is high-frequency traders, contract trading enthusiasts, or investors who focus on compliance and security, they can find reference information from it.

Tutorial on how to register, use and cancel Ouyi okex account Tutorial on how to register, use and cancel Ouyi okex account Mar 31, 2025 pm 04:21 PM

This article introduces in detail the registration, use and cancellation procedures of Ouyi OKEx account. To register, you need to download the APP, enter your mobile phone number or email address to register, and complete real-name authentication. The usage covers the operation steps such as login, recharge and withdrawal, transaction and security settings. To cancel an account, you need to contact Ouyi OKEx customer service, provide necessary information and wait for processing, and finally obtain the account cancellation confirmation. Through this article, users can easily master the complete life cycle management of Ouyi OKEx account and conduct digital asset transactions safely and conveniently.

How to withdraw Ouyi okex currency? How to withdraw Ouyi okex currency? Mar 31, 2025 pm 09:33 PM

This article introduces in detail the steps and preparations for withdrawing OKX digital currency. First of all, it is necessary to ensure that account registration, real-name authentication has been completed, and sufficient withdrawal balance has been established. Secondly, be sure to prepare an accurate external storage address. The article then gradually explained the operation steps such as logging in to the account, entering the withdrawal page, selecting currency, filling in withdrawal information (including address, quantity, handling fee), confirming withdrawal and viewing withdrawal records, and emphasized the necessity of checking the information to avoid asset losses.

Ouyi okex global website official website login entrance 2025 Ouyi okex global website official website login entrance 2025 Mar 31, 2025 pm 03:45 PM

Ouyi OKX (formerly OKEx) Global Station is a world-leading digital asset service platform founded in 2017 and headquartered in Malta. It has tens of millions of users. The platform provides transactions of more than 150 currencies and has formulated a strict currency audit mechanism and market monitoring and progress tracking mechanism. Supports transactions of more than 20 mainstream legal currencies and cryptocurrencies such as the US dollar, euro, and pound.

Sesame Exchange gate web version enters Sesame Exchange official web version click to enter Sesame Exchange gate web version enters Sesame Exchange official web version click to enter Mar 31, 2025 pm 06:18 PM

Sesame Exchange Gate.io web version is convenient to log in. Just enter "gate.io" in the browser address bar and press Enter to access the official website. The concise homepage provides clear "Login" and "Register" options, and users can choose to log in to a registered account or register a new account according to their own situation. After registering or logging in, you can enter the main trading interface to conduct cryptocurrency trading, check market conditions and account management. Gate.io has a friendly interface and is easy to operate, suitable for beginners and professional traders.