A New, Simple Way to Salt your Hashes
Posted on August 4th, 2008 by Greg Allard in Programming |
Maybe I’m not the first to think of this, but it just came to me. Instead of using a single string to season a whole site or saving each new salt with the salted hash, try using this method for simplicity. Take the string and concatenate itself after it. This way, both the value being encrypted and the salt are never known and it’s still simple to validate input. Might be helpful if you actually fear someone building new dictionaries for each salt… or quantum computers.
And Why I Love Comments
Smart people keep you from doing something you didn’t think through. So, don’t use this.
I use webfaction to host a lot of my django projects. It has an easy setup that will get you developing quickly and a great community of talented programmers. There is also a quick setup for rails, wordpress, and a lot more.
Related posts:
- How to Speed up Your Django Sites with NginX, Memcached, and django-compress A lot of these steps will speed up any kind of application, not just django projects, but there are a...
For the last six years, Greg Allard has been a web developer for UCF.
Over the years,