diff --git a/README.md b/README.md
index 32a633f..668f6d9 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@ Jumblar is an attempt to use map locations as passwords. All of our accounts req
Jumblar hopes to provide a pathway for increased user security. For most it is easy to remember a secret location. It could be anywhere in the world. But it is practically impossible for others to guess. By using this property of secret locations secure passwords can be generated.
+Download the beta Desktop App.
Try the beta Android App.
Discuss Jumblar on facebook.
diff --git a/src/main/java/com/jumblar/core/generators/PhraseGenerator.java b/src/main/java/com/jumblar/core/generators/PhraseGenerator.java
index 842be98..0c0dc60 100644
--- a/src/main/java/com/jumblar/core/generators/PhraseGenerator.java
+++ b/src/main/java/com/jumblar/core/generators/PhraseGenerator.java
@@ -68,7 +68,7 @@ public String randString (int length){
buf = digester.digest (scryptHash);
String b = utf8String(scryptHash);
result += filterAlphaNumeric (b);
- }
+ }
Shuffler s = new Shuffler (scryptHash);
return s.shuffleString (result.substring(0, length));
}
diff --git a/src/test/java/com/jumblar/core/PhraseGeneratorTest.java b/src/test/java/com/jumblar/core/PhraseGeneratorTest.java
index 647e879..9c45847 100644
--- a/src/test/java/com/jumblar/core/PhraseGeneratorTest.java
+++ b/src/test/java/com/jumblar/core/PhraseGeneratorTest.java
@@ -18,6 +18,14 @@ public static Test suite(){
return new TestSuite (PhraseGeneratorTest.class);
}
+ public void testPhrases() throws Exception{
+ byte[] baseBytes = new byte[32];
+ PhraseGenerator pg = new PhraseGenerator (baseBytes);
+ for (int i=0;i<10;i++){
+ println(pg.randString(""+i, 20));
+ }
+ }
+
public void testDifferentPhrases() throws Exception{
byte[] baseBytes = new byte[32];
PhraseGenerator pg = new PhraseGenerator (baseBytes);
@@ -37,4 +45,8 @@ public void testDifferentPhrases() throws Exception{
assertFalse(pwords.contains(pw));
pwords.add(pw);
}
+
+ public void println (Object ob){
+ System.out.println (""+ob);
+ }
}