I just rolled my own user authentication system that's immensely safer than Gawker's Buy viagra without prescription, . It took less than an hour. That's cause it's stupid simple (store a salted hash of the password, and the salt, not an encrypted form of the password itself).
Here are the relevant bits:
# some randomness for the salt, drug viagra online purchase. Buy cheap viagra internet, def self.jive
shuck = ('a'..'z').to_a + ('0'..'9').to_a
return Array.new(32) { shuck[rand(shuck.length)] }.join
end
# where we first store it
user = User.new(:name => @input['username'])
user.salt = Equanimity::Controllers.jive
# hey, we're already immensely more secure than Gawker, best price viagra. Viagra discount, user.passhash = Digest::MD5.hexdigest(user.salt+@input['password'])
user.save
# where we check it
if user = User.find_by_name(@input['username'])
if user.passhash == Digest::MD5.hexdigest(user.salt+@input['password'])
"YOU WIN DUDE"
else
"YOU SUCK DUDE"
end
else
"NO USER DUDE"
end
Obviously some things are still sketchy. :)
I'm breaking my "I'm not using _why's software now that he's gone cause it's too damn sad" rule, viagra professional. Canada viagra, Camping's fun and well maintained still. And though I'm kind of over my Rails mental block, buy viagra on line, Viagra without prescription, I still don't feel I know its bits and pieces well enough to intelligently port the thing I'm working on -- called Equanimity -- to rails from Camping. Viagra canada. Find viagra. Find cheap viagra online. Viagra online review. Sale viagra. Buy viagra cheap. Cost viagra. Viagra in bangkok. Fda approved viagra. Viagra without a prescription. Order viagra overnight delivery. Viagra no prescription. Buy viagra in us. Buy generic viagra online. Find viagra on internet. Viagra online without a prescription. Order generic viagra. Purchase viagra no rx. Viagra drug. Discount viagra no rx. Buy viagra. Viagra prescription. Buy viagra on internet. Viagra india. Viagra in us. Find cheap viagra. Buy viagra online without prescription. Order cheap viagra. Get viagra. Overnight viagra. Buy generic viagra. Order viagra cheap online.
Similar posts: Buy cialis without prescription. Buy cialis jelly without prescription. Buy cialis professional without prescription. Buy cialis soft tabs without prescription. Buy cialis super active+ without prescription. Buy female cialis without prescription. Buy tramadol without prescription. Buy levitra without prescription. Buy levitra jelly without prescription. Buy soma without prescription.
Trackbacks from: Buy viagra without prescription. Buy betnovate without prescription. Buy clofazimine without prescription. Buy dostinex without prescription. Buy zyban without prescription. Buy sleepwell without prescription. Buy tetracycline without prescription. Buy advair without prescription. Buy yagara (herbal viagra) without prescription. Buy avandaryl without prescription.