mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-12 14:33:20 -05:00
added HelperFunctions.safeAlphaNum
This commit is contained in:
parent
cc8addb0c7
commit
444982e65f
@ -29,7 +29,8 @@ public class HelperFunctions {
|
||||
public static final String safeNumbers = "23456789";
|
||||
public static final String allNumbers = safeNumbers + "10";
|
||||
public static final String specialCharacters = "$#%@&?";
|
||||
public static final String safeCharacters = safeAlphabets + safeNumbers + specialCharacters;
|
||||
public static final String safeAlphaNum = safeAlphabets + safeNumbers;
|
||||
public static final String safeCharacters = safeAlphaNum + specialCharacters;
|
||||
|
||||
public static String randomString(final int n) {
|
||||
return randomString(n, safeCharacters);
|
||||
|
Loading…
Reference in New Issue
Block a user