Hi,
while programming with the Java Cryptography API, I stumbled across this problem:
"blah".getBytes()
and
new String("blah".getBytes()).getBytes()
yield different results.
Why is that? I tried using explicit charset conversion, but always with the same result. Shouldn't these two byte arrays match?! I must be missing something.
Thanks in advance,
Matthias