Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other PHP salt hash using MD5 and SHA1

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25747
    mattvot
    Member

    I made a small script for personal use that I’d like to share with you.

    It salts an MD5 string with SHA1. Read more about salt hashes at http://en.wikipedia.org/wiki/Salt_%28cryptography%29

    It is a more secure way of storing hashes, as mentioned read above for more details.

    It’s not the conventional way of salting, but it can easily be modded.

    Code:

    Just a bit of fun :D

    #69920
    maxbucksov
    Member

    Really cool script you’ve come up with! Thanks for sharing! ;)

    #71756
    davitz38
    Member

    Hi guys,
    I want to share the tools I use to hash string using md5 and sha1
    – Md5: Online Md5 Converter
    – Sha1: Sha1 Encryption
    Pretty useful tools!
    David

    #73391
    Irrorate
    Member

    Nice script, because the salt is actually the password you wouldn’t store it in the database, meaning that it’d be virtually impossible to crack this hash (unless you knew the hashing algorithm). You could modify it and make it more difficult too, maybe reverse the sha1 so that the first character of the md5 pass is salted with the last character of the sha1 pass.

    I might just use this.. :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.