Look up the 3 bits base64-encoded by the specified character, range-checking againt conversion table @param x the base64-encoded value @return the decoded value of x
(char x)
| 423 | * @return the decoded value of x |
| 424 | */ |
| 425 | private static byte char64(char x) { |
| 426 | if ((int) x < 0 || (int) x >= index_64.length) |
| 427 | return -1; |
| 428 | return index_64[(int) x]; |
| 429 | } |
| 430 | |
| 431 | /** |
| 432 | * Decode a string encoded using bcrypt's base64 scheme to a |