String function ( char [ ] arg0 ) { SecureRandom loc0 = new SecureRandom ( ) ; byte [ ] loc1 = new byte [ SALT_BYTE_SIZE ] ; loc0 . nextBytes ( loc1 ) ; byte [ ] loc2 = pbkdf2 ( arg0 , loc1 , PBKDF2_ITERATIONS , HASH_BYTE_SIZE ) ; return PBKDF2_ITERATIONS + "srini_string" + toHex ( loc1 ) + "srini_string" + toHex ( loc2 ) ; }
returns a salted pbkdf2 hash of the password . concode_field_sep int HASH_BYTE_SIZE concode_elem_sep int PBKDF2_ITERATIONS concode_elem_sep int SALT_INDEX concode_elem_sep int ITERATION_INDEX concode_elem_sep int SALT_BYTE_SIZE concode_elem_sep int PBKDF2_INDEX concode_elem_sep String PBKDF2_ALGORITHM concode_field_sep boolean slowEquals concode_elem_sep byte[] pbkdf2 concode_elem_sep byte[] fromHex concode_elem_sep boolean validatePassword concode_elem_sep boolean validatePassword concode_elem_sep String toHex