News:

Help! We're trapped in the computer, and the computer is trapped in 2008! Someone call the time police!

Main Menu

blag

Started by Sidoh, March 04, 2010, 06:23:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sidoh

I liked your passwords blag.  :)

iago


Blaze

Me too, now that I've read it.  Need a second mirror for the passwords?  :D
And like a fool I believed myself, and thought I was somebody else...

iago

Haha, I think I'm ok. Feel free to download them all, though, just in case I get asked to remove them at some point.

rabbit


iago


Ender

iago, I just wanted to use this opportunity to thank you so much for everything that you've done for me.

rabbit


Sidoh

omg... WTF MAN??????  YOU MISSED AN XKCD REFERENCE. I HATE YOU FOREVER


http://xkcd.com/148/

iago

Heh, when I hear 'blag' I think of a show that none of you (except Blaze) have ever heard of, probably: Corner Gas.

Sidoh

Quote from: iago on March 05, 2010, 08:28:44 AM
Heh, when I hear 'blag' I think of a show that none of you (except Blaze) have ever heard of, probably: Corner Gas.


I think I've even watched an episode, but that's only because you made me. :)

while1

I tend to edit my topics and replies frequently.

http://www.operationsmile.org

Sidoh

I liked the last two posts on your blag.  They were cool.  I especially liked the Taco Bell programming bit.  I've never used xargs in that way, but I definitely will be doing so in the future.

This seems like a solid (ish) way to generate random salts in PHP. Thoughts?


$salt = md5(rand() . microtime())


It seems to me that this is about as good as it gets.  Some of the things people come up with are a lot more convoluted than this, which puzzles me.

while1

Quote from: Sidoh on March 15, 2011, 06:15:51 PM
I liked the last two posts on your blag.  They were cool.  I especially liked the Taco Bell programming bit.  I've never used xargs in that way, but I definitely will be doing so in the future.

This seems like a solid (ish) way to generate random salts in PHP. Thoughts?


$salt = md5(rand() . microtime())


It seems to me that this is about as good as it gets.  Some of the things people come up with are a lot more convoluted than this, which puzzles me.

Shit, no wonder my salts always get cracked.


$salt = md5(rand() . $penisLen)
I tend to edit my topics and replies frequently.

http://www.operationsmile.org

Sidoh

That code is equivalent to

$salt = md5(rand() . 0);

Better than the nonsense code in iago's blog, but could be better.