3 ms·
From: sshconnection Date: Wed, Jan 6, 2010 at 4:59 PM Subject: Engineering Lead for Social Applications To: dev-jobs@rockyou.com Hi, I'm interested in your ope
by sshconnection 17y ago
From: sshconnection
Date: Wed, Jan 6, 2010 at 4:59 PM
Subject: Engineering Lead for Social Applications
To: dev-jobs@rockyou.com
Hi, I'm interested in your opening for Engineering Lead for Social Applications.
I made a PHP page as a high school project that let me log in and create blog posts. I required an admin account to log into the blog to write articles. My user table (I used MySQL as a database backend), had four columns: id, email, username, password. It sounds very simple, but please let me tell you some of the special technology I used for the password.
If someone used a password of "password", I would do something like this:
$plaintext = "password";
Then, I would use a function called sha1 to get a a new value of the password like this: $salt = sha1(md5($plaintext));
Then, I would get the final value to store as the password like so: $password = $md5($salt.$plaintext);
This way, the password is hidden behind what people call a hashing algorithm. That keeps people from figuring out the original password, even if they somehow got on my computer!
I know I have no professional programming experience, but I think that I could be a very valuable member of your team. If you're interested, please let me know!
-Scott