Md5()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    topic cleaned

    Comment


      #17
      Gud Point Kwah

      Comment


        #18
        Gud Point Kwah[/b]
        since some of my posts just got 'cleaned' and all of them had different points on, any chance that you could tell me what you think was a 'good point' ?

        edit: sorry i overestimated a bit on the number of posts that got 'cleaned'..

        Comment


          #19
          i can't use this for lavalair.net because md5 can't be reversed thus if i wanna use sha1 all the passwords data will be lost.


          so are you saying that the only reason sha1 isnt used in your script is because nobody would be able to login (you dont have the sha1 equivalent of their password) so their usernames would be lost?
          lol thats not much of an excuse ... that would be fairly easy to do -- i mean, just use the this process in the login.php file and it should work okay .. leave it in for a month or two and the users who have logged in get their password security .. if someone doesnt login during that time, they deserve to have their account deleted blum.gif (or you could leave it in permanently lol)

          CODE
          |--| check if username exists, if true[username exists], check if pass (after sha1 encryption) exists in the database,
          |--| --| if true[sha1 pass is present], continue login normally
          |--| --| elseif [sha1 pass is not present], check if the md5 encrypted password exists and continue login normally, either silently updating the db or ask the user to re-input their password telling them that it is to improve security etc further details can be found at blah blah ..
          |--| --| else[neither password is present with any encryption type], it is an incorrect password
          |--| else[the username doesn't exist], the username does not exist and the appropriate error message(s) can be dispayed

          Comment


            #20
            ooh okay glad somebody agrees that this is a good post ..

            and as a reply to one of amylee's posts that got deleted, sha1 is no longer used by government agencies and there are newer algorithms available -- sha2

            taken from http://www.php.net/sha1
            Gregory Boshoff
            18-Oct-2006 04:23

            Note that the sha1 algorithm has been compromised and is no longer being used by government agencies.

            As of PHP 5.1.2 a new set of hashing functions are available.

            http://www.php.net/manual/en/function.hash.php
            .............
            It is recommended that developers start to future proof their applications by using the stronger sha-2, hashing methods such as sha256, sha384, sha512 or better.[/b]

            Comment


              #21
              Interesting..lol...well ive finaly found a use for this md5 thing...i was thinkin bout using id's for my members 2 login n a sessiontime next to the limit but then i realised that i could get hacked by simply placin a 1 next to the login link and extendin the session time limit meanin that sum1 could just use my profile n ish..well ive avoied that by just takin a random number and usn my md5() to hide that from hackers n all..............i hope sumbody understood that .......eg
              Code:
              http://127.0.0.1/triplex/mods.php?do=addavatar&id=c4ca44444423820dcc509a6f75849b&ses=1184507360

              Comment


                #22
                Interesting..lol...well ive finaly found a use for this md5 thing...i was thinkin bout using id's for my members 2 login n a sessiontime next to the limit but then i realised that i could get hacked by simply placin a 1 next to the login link and extendin the session time limit meanin that sum1 could just use my profile n ish..well ive avoied that by just takin a random number and usn my md5() to hide that from hackers n all..............i hope sumbody understood that .......eg
                Code:
                http://127.0.0.1/triplex/mods.php?do=addavatar&id=c4ca44444423820dcc509a6f75849b&ses=1184507360
                [/b]
                lol m8 .. i can honestly say that i didnt get any of that

                are you saying that userids are assigned randomly .. ? and md5() -ing it .. then using the md5() version of the user id's in the links .. ?

                or is it the length of the session that youre trying to protect??

                darn .. even i cant understand what i just wrote but im pretty sure it made sense when i wrote it so im gonna give up now lol

                Comment

                Working...
                X