encrypt/decrypt function used for password encryption in authentication simple xor is used here but it is ok as we crypt random strings concode_field_sep char PVERSION41_CHAR concode_elem_sep int SHA1_HASH_SIZE concode_field_sep String longToHex concode_elem_sep byte[] passwordHashStage2 concode_elem_sep String makeScrambledPassword concode_elem_sep byte[] passwordHashStage1 concode_elem_sep byte[] scramble411 concode_elem_sep int charVal concode_elem_sep byte[] createKeyFromOldPassword concode_elem_sep byte[] getBinaryPassword concode_elem_sep int[] getSaltFromPassword
void function ( byte [ ] arg0 , byte [ ] arg1 , byte [ ] arg2 , int arg3 ) { int loc0 = 0 ; while ( ( loc0 < arg0 . arg3 ) && ( loc0 < arg3 ) ) { arg1 [ loc0 ] = ( byte ) ( arg0 [ loc0 ] ^ arg2 [ loc0 ] ) ; loc0 ++ ; } }