Talk:Protocol Encryption: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>Ceiru
imported>Ceiru
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
--[[User:Ceiru|Ceiru]] 17:15, 10 June 2012 (MST)
--[[User:Ceiru|Ceiru]] 17:15, 10 June 2012 (MST)


Found it, it is an ASCII encoded string.
--[[User:Ceiru|Ceiru]] 17:37, 10 June 2012 (MST)


* How the hash is encoded: base64, hex?
* How the hash is encoded: base64, hex?

Latest revision as of 00:37, 11 June 2012

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