+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: PHP Code: Simple Encryption Algorithm

  1. #11
    Join Date
    Sep 2008
    Location
    Australia
    Posts
    4,834
    Blog Entries
    10
    Rep Power
    51

    Re: PHP Code: Simple Encryption Algorithm

    Oh so MD5 doesn't do something like that?
    jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
    Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #12
    Jordan Guest

    Re: PHP Code: Simple Encryption Algorithm

    MD5 is much more complex than this simple encryption algorithm.

  4. #13
    sautozoidas is offline Newbie
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Re: PHP Code: Simple Encryption Algorithm

    Thank you

  5. #14
    prakash1979 is offline Newbie
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

    Re: PHP Code: Simple Encryption Algorithm

    thanks

  6. #15
    prakash1979 is offline Newbie
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

    Re: PHP Code: Simple Encryption Algorithm

    How to decrypt the string any example ?

  7. #16
    Affix is offline Learning Programmer
    Join Date
    Feb 2009
    Location
    Scotland
    Posts
    47
    Blog Entries
    2
    Rep Power
    12

    Re: PHP Code: Simple Encryption Algorithm

    Quote Originally Posted by Jordan View Post
    MD5 is a one-way hash algorithm, however, these encryption schemes above just move the ASCII value of a character. For instance, it will take the Char "a" and convert it to the ASCII value of 97, add 3 to it to make 100 and convert it back to a char (100 = d). It is a fairly simple encryption scheme and can be cracked fairly easy.
    Sorry to disagree here but MD5 Is fairly simple to crack since the MD5 Algorythm Tables known as Rainbow Tables. I can crack a 24 char Pass encrypted with MD5 in around 43ms.

    These tables do take up alot of diskspace with good table sets well over 500GB and possibly over 1TB. They take ages to generate also.

    MD5 Usually gets salted now by Systems like IPB and vBulletin BUT they use the same method of salting

    Code:
    $pass md5(md5($salt) . $postPass); 
    Because this is public a brute force is fairly simple to do if you have access to the database.

  8. #17
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: PHP Code: Simple Encryption Algorithm

    Note that brute force cracking of a hash is very different from "decrypting" it. Also, there is no guarantee that the Rainbow tables will generate the same pre-hash value as was actually used. For example, if "MyPass" and "YourPass" have the same MD5 hash, then when you "crack" the hash, you may use the opposite string from the one I chose.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  9. #18
    Jordan Guest

    Re: PHP Code: Simple Encryption Algorithm

    Agreed. Cracking it does not change the fact that it is one-way.

  10. #19
    rayyan is offline Newbie
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Re: PHP Code: Simple Encryption Algorithm

    really helpful
    thanks

  11. #20
    t_qooze is offline Newbie
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    0

    Re: PHP Code: Simple Encryption Algorithm

    Can we encrypt/decrypt buffer or stream on the fly with this? And also is it possible to mix it with gzinflate/base63/str_rot13?

+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 05-26-2011, 12:58 AM
  2. Replies: 1
    Last Post: 04-02-2011, 11:39 PM
  3. Code:VB6.0 UltraFile Encryption
    By TcM in forum Visual Basic Tutorials
    Replies: 7
    Last Post: 06-21-2009, 01:44 AM
  4. VB6 Encryption Code/Function
    By jfmm2008 in forum Visual Basic Programming
    Replies: 1
    Last Post: 02-03-2009, 06:36 PM
  5. Looking for a simple encoding/encryption method
    By Gezeiten in forum PHP Development
    Replies: 7
    Last Post: 08-05-2008, 05:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts