Ported Gamespys algorithm for generating the secure challenge response to Java