Dane Jensen wrote:

> Base64 encoding that also works out (Note, php's pack() on the md5()
> output is equivlalent to MD5.digest()):
> 	print base64_encode(pack('H*',md5("Bruce2:OhBehave")));
> 	=> PtEdr8lBQ45IbT1bZIkrOQ==
>
> 	>> Base64.encode64(MD5.digest("Bruce2:OhBehave"))
> 	=> "PtEdr8lBQ45IbT1bZIkrOQ==\n"

The clue is right here. The Ruby code appends a "\n".

This seems to give the result you want (note the ".chomp")
p md5_base64(md5_base64("Bruce2:OhBehave").chomp+":"+"Nonce")

Vidar