diff --git a/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/util/SecureRandomFactory.java b/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/util/SecureRandomFactory.java
index <HASH>..<HASH> 100644
--- a/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/util/SecureRandomFactory.java
+++ b/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/util/SecureRandomFactory.java
@@ -8,14 +8,15 @@ import java.security.SecureRandom;
  */
 public class SecureRandomFactory {
     public static SecureRandom getRandom() {
-        byte[] seed = SecureRandom.getSeed(512);
-        return getRandom(seed);
+        return getRandom(null);
     }
 
     public static SecureRandom getRandom(byte[] seed) {
         try {
             SecureRandom rnd = SecureRandom.getInstance("SHA1PRNG");
-            rnd.setSeed(seed);
+            if (seed != null) {
+                rnd.setSeed(seed);
+            }
             return rnd;
         } catch (NoSuchAlgorithmException e) {
             throw new IllegalStateException(e);
Apparently the generate seed method is stupidly slow.