Talk:Protocol Encryption: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>Ceiru
No edit summary
imported>Ceiru
Line 5: Line 5:
The serverId is a hexstring
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 before hashed by the sha algorithm.
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.
This might be more of a java question, what does sha.update() do with a string.
--[[User:Ceiru|Ceiru]] 17:15, 10 June 2012 (MST)
--[[User:Ceiru|Ceiru]] 17:15, 10 June 2012 (MST)


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

Revision as of 00:20, 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)


  • 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