[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Storing passwords
- From: Petite Abeille <petite.abeille@...>
- Date: Mon, 21 May 2012 20:33:01 +0200
On May 21, 2012, at 7:09 PM, Paco Willers wrote:
> I'll continue my search for pure Lua code that
> encrypts or hashes a password,
Perhaps a relatively slow, pure Lua implementation could be viewed as a feature in that specific case:
http://equi4.com/md5/md5calc.lua
http://luaforge.net/projects/sha1-rsa/
> or create one myself.
Don't. Use bcrypt or such:
https://github.com/silentbicycle/lua-bcrypt
If you insist doing it yourself, some food for thoughts:
Salted Password Hashing - Doing it Right
http://crackstation.net/hashing-security.htm