Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
system without
trusting the
people?
Alice Bob
Plaintext x
y=E(x)
z=kpr(h(x)) (y,z)
x’=D(y)
z’=kpub(z)
If z’==h(x’):
Message is authentic
SHA-256
1. Preprocessing involves padding a message, parsing the padded message into 512-bit
blocks.
l + k + 1 + 64 mod 512 = 0
The number l
l bits 1 bit k bits 64 bits written in
binary
Ai Bi Ci Di Ei Fi Gi Hi
Wi
Ki
+
T1
T2
+
T1 +
Ai+1 Bi+1 Ci+1 Di+1 Ei+1 Fi+1 Gi+1 Hi+1
SHA-256
Ai Bi Ci Di Ei Fi Gi Hi
𝚺0 𝚺1 +
+ fmaj
fmaj + Wi
+ Ki
+ + +
Ai+1 Bi+1 Ci+1 Di+1 Ei+1 Fi+1 Gi+1 Hi+1
SHA-256
Application-Cryptocurrency
Block chain
Cryptographic Puzzle
Proof of Work
u t e
r
B rce
Proof of Work