use deterministic passphrase in PgpKeyOperationTest
This commit is contained in:
1 parent
833ff57e51
commit
bf173b1e65
2 files changed
+1
-5
No files matched your search
@@ -23,10 +23,6 @@ import junit.framework.Assert;
|
||||
|
||||
|
||||
public class TestingUtils {
|
||||
public static Passphrase genPassphrase() {
|
||||
return genPassphrase(false);
|
||||
}
|
||||
|
||||
public static Passphrase genPassphrase(boolean noEmpty) {
|
||||
String chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()-_=";
|
||||
Random r = new Random();
|
||||
|
||||
Reference in new issue
Block a user