File tree 1 file changed +2
-5
lines changed
src/main/java/com/privacylogistics
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -565,9 +565,6 @@ protected static String alphabetForBase(int base) {
565
565
switch (base ) {
566
566
case 10 :
567
567
return DIGITS ;
568
- case 26 :
569
- // used by NIST test vectors but deprecated in constructor
570
- // return DIGITS + "abcdefghijklmnop";
571
568
case 36 :
572
569
return DIGITS + ASCII_UPPERCASE ;
573
570
case 62 :
@@ -583,12 +580,12 @@ protected static String alphabetForBase(int base) {
583
580
private static final int TWEAK_LEN = 8 ; // Original FF3 64-bit tweak length
584
581
private static final int TWEAK_LEN_NEW = 7 ; // FF3-1 56-bit tweak length
585
582
private static final int HALF_TWEAK_LEN = TWEAK_LEN /2 ;
586
- private static int MAX_RADIX = 256 ;
583
+ private static final int MAX_RADIX = 256 ;
587
584
private static final Logger logger = LogManager .getLogger (FF3Cipher .class .getName ());
588
585
589
586
/** The recommendation in Draft SP 800-38G was strengthened to a requirement in Draft SP 800-38G Revision 1:
590
587
the minimum domain size for FF1 and FF3-1 is one million */
591
- public static int DOMAIN_MIN = 1000000 ; // 1M
588
+ public static final int DOMAIN_MIN = 1000000 ; // 1M
592
589
public static final String DIGITS = ("0123456789" );
593
590
public static final String ASCII_LOWERCASE = ("abcdefghijklmnopqrstuvwxyz" );
594
591
public static final String ASCII_UPPERCASE = ("ABCDEFGHIJKLMNOPQRSTUVWXYZ" );
You can’t perform that action at this time.
0 commit comments