Talk:Protocol Encryption
From wiki.vg
Authentication is missing a few details
- How the serverID is encoded: UTF-8, UTF-16?
The serverId is a hexstring
Yes the serverId is received as a UTF-16 hexstring, but are the UTF-16 byte representation hashed or is the bytes the hex represent hashed or is the hexstring encoded as ASCII bytes before hashed by the sha algorithm. This might be more of a java question, what does sha.update() do with a string. --Ceiru 17:15, 10 June 2012 (MST)
Found it, it is an ASCII encoded string. --Ceiru 17:37, 10 June 2012 (MST)
- How the hash is encoded: base64, hex?
The hash is encoded as hexstring, too.
Server auth url 404
http://session.minecraft.net/game/checkserver
reports a 404(File not found) should it be .jsp(the old url) or another one?
It is the .jsp page