Page 1 of 1
[SOLVED] md5sum lua wrapper
Posted: 29 Apr 2014, 07:49
by gajop
Please create a wrapper to an md5sum (hexa) function so I can
login, thanks
Using existing lua-only implementations is impossible due to their assumptions of the 32bit overflow, and reimplementing md5 in 24bit is probably too hard.
Re: md5sum lua wrapper
Posted: 29 Apr 2014, 08:59
by gajop
Alternatively create a different login on the server that doesn't require an md5sum of the password. abma?
Re: md5sum lua wrapper
Posted: 29 Apr 2014, 10:54
by abma
already exists:
Code: Select all
$ telnet lobby.springrts.com 8200
Trying 94.23.170.70...
Connected to springrts.com.
Escape character is '^]'.
TASServer 0.36 96.0 8201 0
HASH
SERVERMSG Your password will be hashed for you when you login.
not sure what drawbacks it has, i guess spaces in password won't work for example, with the hashed version it would work i guess, but idk, didn't test. should work for register, too.
Re: md5sum lua wrapper
Posted: 29 Apr 2014, 18:33
by gajop
abma wrote:already exists:
Code: Select all
$ telnet lobby.springrts.com 8200
Trying 94.23.170.70...
Connected to springrts.com.
Escape character is '^]'.
TASServer 0.36 96.0 8201 0
HASH
SERVERMSG Your password will be hashed for you when you login.
not sure what drawbacks it has, i guess spaces in password won't work for example, with the hashed version it would work i guess, but idk, didn't test. should work for register, too.
Thanks!
PS: PWs shouldn't include whitespace anyway!