efinf:blcks2017:crypto:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://www.technologyreview.com/s/609771/a-cryptocurrency-without-a-blockchain-has-been-built-to-outperform-bitcoin/   * https://www.technologyreview.com/s/609771/a-cryptocurrency-without-a-blockchain-has-been-built-to-outperform-bitcoin/
 +
 +===== Theorie =====
 +  * Hashfunktion: https://de.wikipedia.org/wiki/Kryptologische_Hashfunktion
 +  * Asymmetrische Kryptographie: https://de.wikipedia.org/wiki/Asymmetrisches_Kryptosystem
 +  * Public-Key Verschlüsselung: https://de.wikipedia.org/wiki/Public-Key-Verschl%C3%BCsselungsverfahren
 +  * RSA-Verschlüsselung: https://de.wikipedia.org/wiki/RSA-Kryptosystem
 +  * Blockchain: https://de.wikipedia.org/wiki/Blockchain
 ===== BadBlockChain ===== ===== BadBlockChain =====
 {{ :efinf:blcks2017:crypto:badblockchain.zip |BadBlockChain in Python}} {{ :efinf:blcks2017:crypto:badblockchain.zip |BadBlockChain in Python}}
Line 89: Line 96:
         h = 0xdeadbeef         h = 0xdeadbeef
         for i in xrange(0,len(x)):         for i in xrange(0,len(x)):
-            h = ((h+6543)*(ord(x[i])+57361)+567) & 0xffffffff+            h = ((h+6543)*(ord(x[i])+57361)+567) % 2**32
         return h         return h
  
 </code> </code>
  • efinf/blcks2017/crypto/start.1513327892.txt.gz
  • Last modified: 2017/12/15 09:51
  • by Ivo Blöchliger