summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon/src/main/java')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/IdValueFactoryImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/IdValueFactoryImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/IdValueFactoryImpl.java
index 81747490..6856ab1a 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/IdValueFactoryImpl.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/IdValueFactoryImpl.java
@@ -26,7 +26,7 @@ package at.gv.egiz.bku.slcommands.impl.xsect;
import java.util.HashMap;
import java.util.Map;
-import java.util.Random;
+import java.security.SecureRandom;
/**
* An implementation of the IdValueFactory.
@@ -108,7 +108,7 @@ public class IdValueFactoryImpl implements IdValueFactory {
*/
public IdValueFactoryImpl() {
- Random random = new Random();
+ SecureRandom random = new SecureRandom();
int rand = random.nextInt();
seed = Integer.toHexString(rand);