Author: toad
Date: 2009-01-06 20:24:12 +0000 (Tue, 06 Jan 2009)
New Revision: 24930
Modified:
trunk/freenet/src/freenet/crypt/Yarrow.java
Log:
Nanoseconds as well as seconds.
Modified: trunk/freenet/src/freenet/crypt/Yarrow.java
===================================================================
--- trunk/freenet/src/freenet/crypt/Yarrow.java 2009-01-06 20:21:22 UTC (rev
24929)
+++ trunk/freenet/src/freenet/crypt/Yarrow.java 2009-01-06 20:24:12 UTC (rev
24930)
@@ -211,6 +211,7 @@
protected void readStartupEntropy(EntropySource startupEntropy) {
// Consume the current time
acceptEntropy(startupEntropy, System.currentTimeMillis(), 0);
+ acceptEntropy(startupEntropy, System.nanoTime(), 0);
// Free memory
acceptEntropy(startupEntropy,
Runtime.getRuntime().freeMemory(), 0);
// Total memory
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs