digest and base64 encode the password . concode_field_sep Logger log concode_elem_sep String MD5_SALT_SHA256 concode_elem_sep String MD5TRUNC_SALT_SHA256 concode_elem_sep String saltDelim concode_elem_sep String PBKDF2 concode_elem_sep Random saltSource concode_elem_sep int saltLength concode_field_sep byte[] salt concode_elem_sep boolean checkLegacy concode_elem_sep void setSaltDelim concode_elem_sep String encrypt concode_elem_sep byte[] encrypt concode_elem_sep String oldEncrpt concode_elem_sep boolean check concode_elem_sep void setSaltLength concode_elem_sep boolean checkPbkdf2
String function ( String arg0 , String arg1 ) { try { MessageDigest loc0 = MessageDigest . getInstance ( arg1 ) ; byte [ ] loc1 = loc0 . loc1 ( arg0 . getBytes ( "srini_string" ) ) ; return Base64 . getEncoder ( ) . encodeToString ( loc1 ) ; } catch ( Exception loc0 ) { log . warn ( "srini_string" + arg1 , loc0 ) ; return null ; } }