Author: toad
Date: 2008-11-28 17:45:33 +0000 (Fri, 28 Nov 2008)
New Revision: 23955
Modified:
trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
Errr, I mean comments!
Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-11-28 17:44:21 UTC (rev 23954)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-11-28 17:45:33 UTC (rev 23955)
@@ -749,6 +749,9 @@
* Note that MersenneTwister is *not*
cryptographically secure, in fact from 2.4KB of output you
* can predict the rest of the stream! This is
okay because an attacker knows which blocks are
* occupied anyway; it is essential to label
them to get good data retention on resizing etc.
+ *
+ * On my test system (phenom 2.2GHz), this does
approx 80MB/sec. If I reseed every 2kB from an
+ * AES CTR, which is pointless as I just
explained, it does 40MB/sec.
*/
byte[] b = new byte[4096];
ByteBuffer bf = ByteBuffer.wrap(b);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs