[SOLVED] md5sum lua wrapper

[SOLVED] md5sum lua wrapper

Requests for features in the spring code.

Moderator: Moderators

Post Reply
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

[SOLVED] md5sum lua wrapper

Post by gajop »

Please create a wrapper to an md5sum (hexa) function so I can login, thanks :P

Using existing lua-only implementations is impossible due to their assumptions of the 32bit overflow, and reimplementing md5 in 24bit is probably too hard.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: md5sum lua wrapper

Post by gajop »

Alternatively create a different login on the server that doesn't require an md5sum of the password. abma?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: md5sum lua wrapper

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: md5sum lua wrapper

Post 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!
Post Reply

Return to “Feature Requests”