大数据,机器学习,人工智能人工智能/模式识别/机器学习精华专题

MIT-区域链-3

2020-03-09  本文已影响0人  皮皮大

This lesson is about Blockchai Basics and Cryptography

本课程是的主要内容是区域链基础和密码学

image

Communications and computation that needs to be protected or verified, have some form of cryptographic algorithm,which happens to called a cryptographic primitive.

Study Question

  1. 设计特征:密码学、时间戳等

  2. 哈希函数、非对称密码学、数字签名等

  3. 双花问题double-spending

Double spending is when you have a piece of information and you use it twice.

[图片上传失败...(image-a49b01-1583767932361)]

Blockchain technical Features

image

Cryptography

it`s not just communication in the presence of adversaries, it is also computation in the presence of adversaries.

Cryptographic hash functions

It is digital fingerprints for data

General properties
  1. General properties:maps input x of any size to an output of fixed size—called a "hash"

  2. Deterministic(不可逆转的):always the same hash for the same x

  3. Efficiently computed高效计算:couple for terahashes a second.it is remarkly efficient algorithm.

if you take a certain set of data, it will always give you the same hash.

Crytographic properties
  1. Preimage resistant (one way):infeasible(不能办到的) to determine x from hash(x)

  2. Collision resistant: infeasible to find x and y where hash(x)=hash(y)

  3. Avalanche effect: change x slightly and hash(x) changes significantly

  4. Puzzle friendless: knowing hash(x) and part of x it is still very hard to find rest of x

Timestamped append-only log-blackchain

image image

Block header

每10分钟产生一个区块头,时间越长越难产生

上一篇 下一篇

猜你喜欢

热点阅读