Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
efinf:blcks2017:crypto:start [2017/12/15 09:51] Ivo Blöchliger |
efinf:blcks2017:crypto:start [2017/12/20 22:08] (current) Ivo Blöchliger [Theorie] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== News ===== | ===== News ===== | ||
* https:// | * https:// | ||
+ | |||
+ | ===== Theorie ===== | ||
+ | * Hashfunktion: | ||
+ | * Asymmetrische Kryptographie: | ||
+ | * Public-Key Verschlüsselung: | ||
+ | * RSA-Verschlüsselung: | ||
+ | * Blockchain: https:// | ||
===== BadBlockChain ===== | ===== BadBlockChain ===== | ||
{{ : | {{ : | ||
Line 89: | Line 96: | ||
h = 0xdeadbeef | h = 0xdeadbeef | ||
for i in xrange(0, | for i in xrange(0, | ||
- | h = ((h+6543)*(ord(x[i])+57361)+567) | + | h = ((h+6543)*(ord(x[i])+57361)+567) |
return h | return h | ||
</ | </ |