Ok so I started making a proxy in java and Have got up to receiving the password seed. But I've run into a problem java doesn't have unsigned variables so I had to edit the auth cryption to use short values. I can get the password seed perfectly its just forwarding it to the client I'm not sure how to do because the socket doesn't send a short array. I try sending the origional byte array but got no response from the client. If anyone can give me some pointers on how to do this I would appreciate it thanks.
when the byte is over 128 it wraps around to negative numbers
the byte array look like -59 72 105 18 32 -47 47 -103
the short array looks like 197 72 105 18 41 163 18 61
when the byte is over 128 it wraps around to negative numbers
the byte array look like -59 72 105 18 32 -47 47 -103
the short array looks like 197 72 105 18 41 163 18 61