Position: Home page » Blockchain » Blockchain digital digest

Blockchain digital digest

Publish: 2021-04-03 04:21:35
1. Absrtact: blockchain technology is the underlying technology of bitcoin. Without any centralized organization operation and management, bitcoin has been running very stably for many years (perfectly for seven years), and there has been no problem (no missing account). Therefore, some people have noticed its underlying technology and abstracted bitcoin technology, which is called blockchain technology, Or distributed ledger technology
what is centralization

the so-called centralization means "ownership" or ownership by the company. For example, Tencent's q-coin, which is issued by Tencent, is a kind of centralized electronic currency, including the total amount and the issuing method, is supervised and controlled by Tencent. You can use it, trade and go shopping, but you always have to operate in the framework of Tencent, and the final right of interpretation belongs to Tencent

the issuing mode of bitcoin is preset by the program and encryption algorithm, and runs on multiple nodes all over the world. No one or organization can modify it (everyone has his own account book, so it is impossible for one person to control everyone's account book at the same time. If there is such a technology, why should it be so complicated, If you want to blackmail money into your account, you will be the richest man in the world. There is no one left, And it is not controlled by any single person or organization
take an example: for example, Lao Zhang borrows 100 yuan from Lao Li, but Lao Li is afraid that he will default, so he asks the village head to do notarization and write down the account. This is called centralization. But if you don't find the village head, you can use the loudspeaker to shout in the village: "I Lao Li lent Lao Zhang 100 yuan! Please put it in the account book. "We all put this account in our own account book. This is called decentralization
anyone who transfers money between them will release information through loudspeakers. After receiving the information, everyone will record the transaction in their own account book. With distributed ledgers, it doesn't matter if Lao Zhang or Lao Li's ledgers are lost, because Lao Zhao, Lao Ma, Lao Wang and other families have ledgers

the main advantages of blockchain are that it does not need intermediary participation, the whole process is open and transparent, and the cost is low, and the data security is high

at present, blockchain is in a stage where everyone talks about blockchain, but can't perceive its actual technical charm. Since 2017, it has graally come into our sight, and we have graally realized that bitcoin is more fierce than real estate speculation (the price of mining machinery has skyrocketed! The news is on the screen But I still don't know

so, in which fields can blockchain be applied, what kind of changes will it bring to our future life

the core key: everyone has an account book, everyone has an account book, and the information recorded in each person's account book is consistent and synchronous, and the information is completely transparent. If it is fake, it will be the public enemy of the whole people, which greatly increases the cost of data fraud

core key 2: decentralization, which does not need a central system to manage data, prevents some people from changing data and damages the interests of the majority of people

Application:

1. Account security and privacy protection: currency transfer, exchange, payment system. Blockchain can help prevent data manipulation and fraud, prevent distributed denial of service attacks (DDoS), and effectively protect users' network privacy. Key words: anti counterfeiting, anti-counterfeiting, loan payment

2. Copyright regulation and interest disputes: for example, when a song is downloaded, from the author to the procer and then to the singer, they can get payment in real time through the blockchain, without having to wait for a long time like the traditional way, or even get no reward e to right disputes. Instead of waiting for publishers to provide royalty checks, creators can freely control the process from publishing to payment through blockchain application. Key words: real time receipt, no property dispute

3. Internet of things + artificial intelligence: the intelligent devices in the Internet of things based on the blockchain will be used to monitor the real-time situation of urban infrastructure such as bridges, roads, power grids, etc. the blockchain can connect these intelligent devices together for unified management to help them monitor more efficiently. This will help people better understand how to build a smart city in the future. Key words: unified monitoring, intelligent city

4: proof of existence: in life, once you are asked to prove that you are you, that your mother is your mother, that you have never been married, that the house belongs to you, and so on, things seem very simple. Once it falls on you, it is a great trouble. The application of blockchain technology can perfectly solve the above embarrassment. At that time, all the information that belongs to you will be recorded accurately and can not be tampered with. No one has the right to change it. When the technology develops to a certain stage, birth certificate and marriage certificate may be recorded on the blockchain. Keywords: no keywords

in addition to the application scenarios mentioned above, blockchain technology can also be applied to e-commerce, data storage, logistics and other fields. As long as we grasp the characteristics of blockchain technology, it will become easy to understand.
2.

If you want to understand the application of blockchain, you can refer to many books and opinions, such as illustrated blockchain, blockchain: reshaping the economy and the world, blueprint and guide of new economy, and articles of coin'an community, including a detailed understanding of the platform of coin'an community, with great strength

As the name suggests, blockchain is composed of block and chain. It is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and so on. It is a kind of chain data structure that combines data blocks in order according to the time sequence, and it is a secure and reliable distributed account book that can not be tampered with and forged by means of cryptography

in 2008, in his paper bitcoin: a peer-to-peer e-cash system published by Nakamoto, he first proposed the idea of blockchain and encrypted digital currency. Starting from bitcoin, blockchain has become the underlying technology of various digital currencies

Second, the working principle of blockchain:

1. The basic concepts include: (1) transaction: one operation will change the account status once, such as adding a record 2) Block: records the transaction and status data within a specified time, which is a consensus and preservation of the current account status 3) Chain: it is composed of a series of blocks in chronological order, which is the log record of the whole state change. If you understand the working concept of blockchain, it is not difficult to understand its working principle. Suppose there is a distributed data logbook, which can only be added, not deleted or changed. Its structure is a linear chain formed by a series of "blocks" (which is also the source of the name of "blockchain"), and new data must be put into a new block to be added, The maintenance node can propose a new block, but it must go through a certain consensus mechanism to reach an agreement on the final selected block

2. Take bitcoin as an example to see the working principle of blockchain

the block of bitcoin is divided into block head and block body

Core advantages and characteristics of blockchain

1. The verification, accounting, storage, maintenance and transmission of decentralized blockchain data are all based on distributed system structure. There is no centralized hardware or management organization, and the rights and obligations of any node are equal, The data blocks in the system are jointly maintained by the nodes with maintenance function in the whole system. 2. The open and transparent system is open. In addition to the private information of all parties to the transaction is encrypted, the data of the blockchain is open to all. Anyone can query the blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent. 3. Security blockchain uses consensus based specifications and Protocols (such as a set of open and transparent algorithms) to enable all nodes in the whole system to exchange data freely and safely in a de trusted environment, so that the trust in "people" is changed into the trust in machines, and any human intervention does not work. 4. Information cannot be tampered with. Once the information is verified and added to the blockchain, it will be stored permanently. Unless more than 51% (almost impossible) nodes in the system can be controlled at the same time, the modification of the database on a single node is invalid. Therefore, the data stability and reliability of the blockchain are extremely high. 5. Anonymity because the exchange between nodes follows a fixed algorithm, and its data interaction does not need trust (the program rules in the blockchain will judge whether the activity is effective or not). Therefore, the counterparties do not need to let the counterparties generate their own trust by disclosing their identities, which is very helpful for credit accumulation

At present, the most popular classification of blockchain is to divide blockchain into public blockchain, private blockchain and consortium blockchain according to different participants

1. Public chain: anyone can participate in the use and maintenance, and can obtain the effective confirmation of the blockchain. Public chain is the earliest blockchain and the most widely used blockchain at present, such as bitcoin blockchain. The information is completely public

if the licensing mechanism is introced, it includes private chain and alliance chain. 2. Private chain: a company or indivial only uses the blockchain technology, enjoys the exclusive write permission of the blockchain, and does not disclose the information. At present, conservative giants (traditional finance) want to experiment with private blockchain, and the application procts of private blockchain are still groping. 3. Alliance chain: it is a blockchain between the public chain and the existing chain, which is jointly controlled by multiple organizations. The use of the chain is managed with authority, which can be controlled by the manager, and also open to others according to the manager's wishes. In addition, according to the different use scenarios and purposes of blockchain, it can be divided into currency chain for the purpose of digital currency, property chain for the purpose of recording property rights, and crowdfunding chain for the purpose of crowdfunding

On May 28, Ma Huateng, CEO of Tencent, proposed the anti-counterfeiting method based on cloud integrated blockchain technology, which is far more efficient than traditional anti-counterfeiting methods. The future anti-counterfeiting verification scenario may only require users to use their mobile phones for simple scanning, and a large number of complete information based on different dimensions can be obtained

take Maotai liquor as an example:

distillery address, proction workshop, operation staff, inspector, delivery time, transportation vehicle information and driver information,

liquor year, raw material source, raw material supplier, storage warehouse number, raw material transportation vehicle and driver information,

all information can be accurately traced, permanently recorded and tampered with

the above information can be easily verified

2. Food safety issues as early as last November, Wal Mart has cooperated with IBM to track the source of food by using blockchain technology, so as to ensure the safety of food and increase the circulation of food to rece costs. For Wal Mart and other large supermarkets, it took a few days to investigate the source of problem food, After using this technology, only one item of proct information is needed to achieve accurate traceability, and important information such as food origin, inspector, supplier, logistics and transportation can quickly find problems in a few minutes. Currently, procts tracked by blockchain include packaging procts from the United States and pork from China

3. Information security

blockchain technology is promoting an information security technology revolution. (1) identity protection PKI is a common public key encryption technology in e-mail, message application, website and other communication applications. However, since the implementation of most PKI, the centralized trusted third party certification authority (CA) is used to issue, activate and store user certificates. Hackers can attack PKI to fake user identity or crack encrypted information

certcoin is the first PKI implementation of blockchain, which comes from MIT, removes the centralized authentication center, and uses blockchain as a distributed ledger for domain name and public key

pomcor company: blockchain PKI implementation path: keep the authentication center, and use blockchain to store the hash value of issued and activated certificates. Users can verify the authenticity of certificates through decentralized and transparent sources, and can also improve the network access performance through local authentication of secret key and signature based on blockchain

(2) data integrity protection

guardtime developed a secret key free signature architecture (Ksi) based on blockchain technology to replace the secret key based data authentication technology. Ksi stores the hash table of the original data and files on the blockchain, runs the hash algorithm to verify other copies, and compares the results with the data stored in the blockchain. Any data tampering will be found quickly because the original hash table is stored in millions of nodes

(3) key infrastructure protection

the "Achilles heel" of the Internet, DDoS has entered the TB era, DDoS is still the simplest weapon for hackers to bring down the big target with low cost, DNS service is the primary target for hackers to carry out large-scale destruction, but blockchain technology is expected to fundamentally solve the problem

The distributed storage of

blockchain makes hacker attacks lose focus. Nebulis is developing a distributed DNS system, which uses Ethereum blockchain and interstellar Internet file system (IPFs, the distributed substitute of HTTP) to register and resolve domain names. The biggest weakness of DNS is caching, which makes DDoS attacks possible. It is also the bane of the centralized government's censorship of social networks and manipulation of DNS registration. A highly transparent and distributed DNS system can effectively prevent any entity, including the government, from arbitrarily manipulating records

(1) digital currency: improve the convenience of currency issuance and use, such as bitcoin and Ethernet in foreign countries, and guorenbao in China

from the use of physical transactions, to physical currency and credit currency, and then to the rise of bitcoin network, more and more people are aware of the distributed ledger blockchain technology behind it, and graally apply it in many scenarios other than digital currency

(2) cross border payment and settlement: realize point-to-point transaction, rece intermediate fees

transfer and payment. At present, the most mature application of blockchain technology is payment and transfer. Blockchain technology can avoid complicated systems, save the process of inter-bank reconciliation and review, and accelerate the settlement speed; Virtual currency can rece transaction costs without the intervention of clearing house. Different countries have different clearing proceres. It takes two or three days for a single remittance to arrive, which is inefficient and accounts for a large proportion of funds in transit. No longer through the third party, through the blockchain technology to form point-to-point payment. By eliminating the link of the third-party institutions, we can make full day payment, real-time payment, withdraw cash quickly and rece the hidden cost, which helps to avoid the capital risk. It is timely and convenient

(3) bills and supply chain financial business: rece human intervention, rece costs and operational risks

value transfer between point-to-point, control and verify physical bills or central system; Intermediaries will be eliminated and human intervention reced. With the improvement of efficiency, financing channels are more unblocked, risks are lower, and multiple parties benefit

(4) securities issuance and Trading: realize quasi real-time asset transfer, accelerate the speed of transaction clearing

the application of blockchain technology can make the process of securities trading more concise, transparent and fast, rece the plication of IT system, and improve the efficiency of market operation. For stocks, blockchain can eliminate paper and pen or electronic form records, rece human errors in trading, and improve the transparency and traceability of trading platform. Citigroup and Nasdaq cooperate to promote blockchain applications

(5) customer credit investigation and anti fraud: rece the cost of legal compliance, prevent financial crimes

the customer information and transaction records recorded in the blockchain help banks identify abnormal transactions and effectively prevent fraud. The technical characteristics of blockchain can change the existing credit reference system, and store the data of customers with bad records in the blockchain when the bank concts "know your customer" (KYC)

equity crowdfunding:

3. Blockchain itself solves the problem of large-scale cooperation between strangers, that is, strangers can cooperate with each other without mutual trust. So how to ensure the trust between strangers to achieve mutual consensus mechanism? The centralized system uses trusted third-party endorsements, such as banks. In the eyes of the common people, banks are reliable and trustworthy institutions. The common people can trust banks to solve real disputes. But how does a decentralized blockchain guarantee trust
in fact, blockchain uses the basic principles of modern cryptography to ensure its security mechanism. The knowledge system involved in the field of cryptography and security is very complicated. Here, I only introce the basic knowledge of cryptography related to blockchain, including hash algorithm, encryption algorithm, information digest and digital signature, zero knowledge proof, quantum cryptography, etc. Through this lesson, you can learn how to ensure the confidentiality, integrity, authentication and non repudiation of the blockchain using cryptography technology
basic course lesson 7 basic knowledge of blockchain security
1. Hash algorithm (hash algorithm)
hash function (hash), also known as hash function. Hash function: hash (original information) = summary information. Hash function can map any length of binary plaintext string to a shorter (generally fixed length) binary string (hash value)
a good hash algorithm has the following four characteristics:
1. One to one correspondence: the same plaintext input and hash algorithm can always get the same summary information output
2. Input sensitivity: even if the plaintext input changes slightly, the newly generated summary information will change greatly, which is greatly different from the original output
3. Easy to verify: plaintext input and hash algorithm are public, anyone can calculate by themselves, and whether the output hash value is correct
4. Irreversibility: if there is only the output hash value, the hash algorithm can never dece the plaintext
5. Conflict avoidance: it is difficult to find two plaintexts with different contents, but their hash values are the same (collision)
for example:
hash (Zhang San lent Li Si 100000 yuan for 6 months) = 123456789012
such a record as 123456789012 is recorded in the account book
it can be seen that hash function has four functions:
simplify information
it is easy to understand, and the information after hashing becomes shorter
identification information
you can use 123456789012 to identify the original information, and summary information is also called the ID of the original information
hidden information
the account book is a record like 123456789012, and the original information is hidden
verification information
if Li Si cheated that Zhang San only lent Li Si 50000 when repaying, both parties can verify the original information with the hash value of 123456789012 recorded before
hash (Zhang San lent Li Si 50000 for 6 months) = 987654321098
987654321098 is completely different from 123456789012, which proves that Li Si lied, Then the information can't be tampered
common hash algorithms include MD4, MD5 and Sha series algorithms, and Sha series algorithms are basically used in mainstream fields. Sha (secure hash algorithm) is not an algorithm, but a group of hash algorithms. At first, it was SHA-1 series, and now the mainstream applications are sha-224, SHA-256, sha-384 and sha-512 algorithms (commonly known as SHA-2). Recently, Sha-3 related algorithms have been proposed, such as keccak-256 used by Ethereum
MD5 is a very classic hash algorithm, but unfortunately, both it and SHA-1 algorithm have been cracked. It is considered by the instry that its security is not enough to be used in business scenarios. Generally, sha2-256 or more secure algorithm is recommended
hash algorithm is widely used in blockchain. For example, in blocks, the latter block will contain the hash value of the previous block, and the content of the later block + the hash value of the previous block will jointly calculate the hash value of the later block, which ensures the continuity and non tamperability of the chain< Encryption and decryption algorithm is the core technology of cryptography, which can be divided into two basic types: symmetric encryption algorithm and asymmetric encryption algorithm. According to whether the key used in the encryption and decryption process is the same or not, the two modes are suitable for different needs, just forming a complementary relationship, and sometimes can be combined to form a hybrid encryption mechanism
symmetric cryptography (also known as common key cryptography) has the advantages of high computational efficiency and high encryption strength; Its disadvantage is that it needs to share the key in advance, which is easy to leak and lose the key. The common algorithms are des, 3DES, AES and so on
asymmetric cryptography (also known as public key cryptography) is different from the encryption and decryption key, and its advantage is that it does not need to share the key in advance; Its disadvantage is that it has low computational efficiency and can only encrypt short content. Common algorithms include RSA, SM2, ElGamal and elliptic curve series. Symmetric encryption algorithm is suitable for the encryption and decryption process of a large number of data; It can't be used in signature scenario: and it often needs to distribute the key in advance. Asymmetric encryption algorithm is generally suitable for signature scenario or key agreement, but it is not suitable for large amount of data encryption and decryption< Third, information digest and digital signature
as the name suggests, information digest is to hash the information content to obtain a unique digest value to replace the original and complete information content. Information digest is the most important use of hash algorithm. Using the anti-collision feature of hash function, information digest can solve the problem that the content has not been tampered
digital signature is similar to signing on paper contract to confirm contract content and prove identity. Digital signature is based on asymmetric encryption, which can be used to prove the integrity of a digital content and confirm the source (or non repudiation)
we have two requirements for digital signature to make it consistent with our expectation for handwritten signature. First, only you can make your own signature, but anyone who sees it can verify its validity; Second, we want the signature to be only related to a specific file and not support other files. These can be achieved by our asymmetric encryption algorithm above
in practice, we usually sign the hash value of information instead of the information itself, which is determined by the efficiency of asymmetric encryption algorithm. Corresponding to the blockchain, it is to sign the hash pointer. In this way, the front is the whole structure, not just the hash pointer itself< Zero knowledge proof means that the verifier can make the verifier believe that a certain conclusion is correct without providing any additional information to the verifier
zero knowledge proof generally meets three conditions:
1. Completeness: authentic proof can make the verifier successfully verify
2. Soundness: false proof can not make the verifier pass the verification
3. Zero knowledge: if you get proof, you can't get any information other than the proof information from the proof process< With more and more attention paid to the research of quantum computing and quantum communication, quantum cryptography will have a huge impact on the information security of cryptography in the future
the core principle of quantum computing is that qubits can be in multiple coherent superposition states at the same time. Theoretically, a large amount of information can be expressed by a small number of qubits and processed at the same time, which greatly improves the computing speed
in this way, a large number of current encryption algorithms are theoretically unreliable and can be cracked, so the encryption algorithm has to be upgraded, otherwise it will be broken by quantum computing
as we all know, quantum computing is still in the theoretical stage, which is far from large-scale commercial use. However, the new generation of encryption algorithms should consider the possibility of this situation.
4.

In the traditional supply chain finance, financing difficulty, high financing cost and cumbersome financing process have always been one of the bottlenecks restricting small and medium-sized enterprises to become bigger and stronger. Banks rely on the ability of core enterprises to control goods and regulate sales. For the sake of risk control, banks are only willing to provide factoring services to upstream suppliers (limited to first tier suppliers) with direct accounts payable obligations of core enterprises, or provide prepayment or inventory financing to their downstream distributors (first tier suppliers). As a result, the demand of secondary and tertiary suppliers / distributors with huge financing demand can not be met, the business volume of supply chain finance is limited, and the small and medium-sized enterprises can not get timely financing, which will easily lead to proct quality problems and damage the whole supply chain system

to solve these problems, we can make use of the characteristics of decentralized, tamper proof and distributed ledger of blockchain technology to build a blockchain supply chain financial platform

The core enterprise issues a / R certificate to the distributor. After the distributor signs the receipt, it indicates that it has signed the purchase and sales contract and the core enterprise delivers the goods

Because of the shortage of funds, distributors need to borrow money from finance

3. After the financial institutions have approved, the amount of loans will be sent to the core enterprises

The distributor will repay the loan and interest after selling the goods

5. Blockchain is an important concept of bitcoin. It is essentially a decentralized database. At the same time, as the underlying technology of bitcoin, it is a series of data blocks generated by using cryptographic methods. Each data block contains a batch of information about bitcoin network transactions, Used to verify the validity of its information (anti-counterfeiting) and generate the next block.
6.

Hash function, also known as hash function and hash algorithm, is a method to create small digital "fingerprint" (also known as Digest) from any kind of data. What do you mean? That is to say, if you input data of any length and content, the hash function outputs a fixed length and fixed format result, which is similar to the fingerprint of the data you input. As long as the input changes, the fingerprint will change. Different content, the fingerprint obtained by hash function is different. This is the hash function

in distributed ledger, in order to ensure data integrity, hash value is used for verification. For example, a transaction or a page of ledger (that is, the concept of block) generates a summary after hashing, which means that the transaction information of the whole block cannot be tampered with (that is, the summary cannot be kept unchanged after tampering with the data)

the original definition or narrow sense of blockchain is in the form of block + chain, which is linked by hash. Each block may have many transactions, and the whole block can generate summary information through hash function, and then each block needs to record the summary information of the previous block, so that all blocks can be connected into a chain

if you change the data of a block in the history, it means that the block summary value (i.e. hash value) will change, then the hash of the previous block recorded in the next block will have to be modified accordingly, and so on. That is to say, if you want to modify the history, you need to start from that point, and then all records will have to be modified to ensure the legitimacy of the ledger, Hash function increases the difficulty of account book tampering

the Xueshuo innovation blockchain Technology Workstation of Lianqiao ecation online is the only approved "blockchain Technology Specialty" pilot workstation of "smart learning workshop 2020 Xueshuo innovation workstation" launched by the school planning, construction and development center of the Ministry of ecation of China. Based on providing diversified growth paths for students, the professional station promotes the reform of the training mode of the combination of professional degree research, proction, learning and research, and constructs the applied and compound talent training system

Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750