Hey All!
Im writing the most secure login script possible for a client and I was getting to wondering ... which is more easily cracked?
sha or md5()
Thanks
SHA vs md5()
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
I wouldn't recommend either. Instead SHA256 snipplet by feyd
Re: SHA vs md5()
Precision in language matters here, so forgive me for being pedantic. Neither can be *cracked*. Both can be brute-forced, and md5 has more shortcuts to do so, in addition to having a smaller probability space in the first place.Tucker wrote:Im writing the most secure login script possible for a client and I was getting to wondering ... which is more easily cracked?
sha or md5()
SHA256 > SHA > MD5.