25 Jan, 2013, Rarva.Riendf wrote in the 1st comment:
Votes: 0
How many of you are using crypt() from -lcrypt ?
And how many are aware that it only takes the first 8 characters you type ?
25 Jan, 2013, bbailey wrote in the 2nd comment:
Votes: 0
Rarva.Riendf said:
How many of you are using crypt() from -lcrypt ?
And how many are aware that it only takes the first 8 characters you type ?


I'm aware of the limitations of the DES algorithm. Fortunately, at least if you're using glibc 2.7 or higher, crypt() also supports MD5, SHA-256, SHA-512 and in some cases Blowfish.

I favor SHA-512 and ssh keys (RSA 2048, typically) for new code.
25 Jan, 2013, Zeno wrote in the 3rd comment:
Votes: 0
Yep, realized this years ago with Smaug (before SmaugFUSS). SHA256 is what I use (SHA512 is good too, as long as the encryption time isn't too long).

[EDIT] Hey, look at this old gem: http://www.gammon.com.au/forum/bbshowpos...
25 Jan, 2013, Runter wrote in the 4th comment:
Votes: 0
I use bcrypt. Encryption time doesn't matter that much to me provided it's asynchronous.
25 Jan, 2013, quixadhal wrote in the 5th comment:
Votes: 0
SHA-256 is nice and fast, as secure as you need for a game, and the source is widely available under pretty much any license you like. Using a local implementation means you aren't tied to whatever the OS uses, which means if you move your MUD from one host to another, you don't ever run the risk of your preferred encryption not being there.
0.0/5