(int log_rounds)
| 669 | } |
| 670 | |
| 671 | static long roundsForLogRounds(int log_rounds) { |
| 672 | if (log_rounds < 4 || log_rounds > 31) { |
| 673 | throw new IllegalArgumentException("Bad number of rounds"); |
| 674 | } |
| 675 | return 1L << log_rounds; |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * Perform the central password hashing step in the |