2008/6/4 Robert Greig <[EMAIL PROTECTED]>: > >> I've attached a small snippet that I'm going to work into a proper >> test case for when I file the bug, the output should be >> ff724187be5f9d4df6fd93a7dce660c9 > > In your sample program, why do you convert your password into UTF-8 > bytes - which makes your byte array 21 bytes long due to the > particular chars you chose? > > If you encode into an 8 bit characterset like ISO-8859-1 you get the > result you expect.
My turn to reply to myself - UTF-8 is apparently the recommended approach now for encoding (http://www.imc.org/ietf-sasl/mail-archive/msg00517.html). So I would argue that the 21 byte array is right and that the output should not be as you suggest above? RG
