TLDR: Java is signed, c# is unsigned. Byte[]
values are different, how to solve this. How can I convert either side to the other?
Values are of "Hello World"
MD5
hashed and then converted to bytes
Java:
-79, 10, -115, -79, 100, -32, 117, 65, 5, -73, -87, -101, -25, 46, 63, -27
C#:
177, 10, 141, 177, 100, 224, 117, 65, 5, 183, 169, 155, 231, 46, 63, 229
I use the byte[]
to encrypt using AES
on both sides but the passwords never match.