NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Webmaster Tutorials
Reload this Page Md5()

Webmaster Tutorials Instructional webmaster-related how-to's and tutorials.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 06-11-2006, 10:58 AM   #26 (permalink)
Senior Member
 
Shorty's Avatar
Join Date: Sep 2005
Location: England
Posts: 1,034
Shorty is just really niceShorty is just really niceShorty is just really niceShorty is just really nice
 



One thing I like to do is this:
$password = md5($password);
$password = strrev($password);
Just as an added measure of confusion.

There's absolutely nothing stopping anyone adding dozens of sha1's and md5's, or whatever else they want to do. I imagine it makes them safer, but I suppose it's effectiveness wears off.

One thing I would reccomend is just do a few random letter replacements, the more the better. Just make sure you store them in an external include (.php so they cant be opened) so that you can call them again when handling logins etc.
Shorty is offline  
Old 06-11-2006, 11:01 AM   #27 (permalink)
Senior Member
 
ApeXX's Avatar
Join Date: Mar 2005
Location: Massachusetts
Posts: 1,998
ApeXX is a glorious beacon of lightApeXX is a glorious beacon of lightApeXX is a glorious beacon of lightApeXX is a glorious beacon of lightApeXX is a glorious beacon of lightApeXX is a glorious beacon of lightApeXX is a glorious beacon of lightApeXX is a glorious beacon of light
 



Originally Posted by asgsoft
MD5, a hash encrytion of texts. although it is supposed to be uncovertable it can be converted back recently. it is a very easy function to use but uesed a lot in sending encrypted data and storing it, like this forum it uses it to store passwords. this is how it works:
PHP Code:
$text="test text";
????: NamePros.com http://www.namepros.com/webmaster-tutorials/173486-md5.html
$encryptedmd5($text);
echo 
$encrypted
this will ouput 1e2db57dd6527ad4f8f281ab028d2c70. but to make it more secure like what IPB does it to double encypt it. so it looks like this:
PHP Code:
$text="test text";
$encryptedmd5(md5($text));
echo 
$encrypted
this will output: a932721fa7514980123ca95f1e94cb47 which is harder to crack becuase it is an encrytption of an encryptiom.

hope that helps.
IPB also uses a salt, which I believe means they insert a random encrypted word into the final encryption pass.
__________________
FREE Xbox Live Gold codes added daily!
ApeXX is offline  
Old 06-11-2006, 11:33 AM   #28 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Originally Posted by ninedogger
doing md5(md5($string)) isn't necasarilly safer
No but something like
????: NamePros.com http://www.namepros.com/showthread.php?t=173486
PHP Code:
$superencrypted md5(sha1(md5(sha1(rand(0,1000000)).md5(sha1($str))); 
is pratically unencryptable because there's no way somebody could guess how I encoded $superencrypted.
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 06-11-2006, 12:40 PM   #29 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,792
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
md5 is not decryptable.

They have giant databases with the word and it's hash. They try to find the hash you enter, and return the word.

If your encrypted text isn't completely basic (like 'hi'), they won't be able to tell you what it is.
Dan is offline  
Old 06-11-2006, 01:16 PM   #30 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Not decryptable, but you can crack it by brute force. This is where you go through all the possible key combinations to see if it matches the original string.
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 06-11-2006, 03:26 PM   #31 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,792
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
You can crack anything with brute force, so saying that means nothing.

Quote:
$superencrypted = md5(sha1(md5(sha1(rand(0,1000000)).md5(sha1($str)) );
You can crack that by brute forcing. Have fun.
Dan is offline  
Old 06-11-2006, 04:47 PM   #32 (permalink)
NamePros Regular
 
Tree's Avatar
Join Date: Feb 2006
Location: Atlanta, GA, USA
Posts: 335
Tree will become famous soon enoughTree will become famous soon enough
 



True. Anything that can be hashed can be "unhashed." Supercomputers combined with huge databases can "unhash" anything. Be it SHA1, MD5, MD4, or lesser know algorithms such as the AP, DEK, DJB, and the widely used ELF.

Combine supercomputers equivalent to those used for genetic sequencing and a database capable of more than 1.0873661566567430802736528525679*10^147 records (Oracle, IBM's DB2), and you'll have a database which can hold all possible combinations for a-z A-Z 0-9 and these special characters `~!@#$%^&*()_-+={[}]|\:;"'<,>.?/ for up to a string that is only 10 characters in length.

Quite large.
Last edited by Tree; 06-11-2006 at 04:59 PM.
Tree is offline  
Old 06-12-2006, 07:11 AM   #33 (permalink)
NamePros Regular
 
Tree's Avatar
Join Date: Feb 2006
Location: Atlanta, GA, USA
Posts: 335
Tree will become famous soon enoughTree will become famous soon enough
 



Found a Perl module just for this

http://search.cpan.org/~mwdhk/Digest...MD5/Reverse.pm
Tree is offline  
Old 06-12-2006, 11:46 AM   #34 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Cool.

Somebody give me a 5 char md5
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 06-12-2006, 12:22 PM   #35 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,792
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
http://gdataonline.com/seekhash.php

That site doesn't crack it and the perl script just goes to the site.
Dan is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Md5 faisj Programming 2 11-15-2005 09:29 PM
md5 table axilant Programming 4 06-29-2005 08:17 PM
MD5 or SHA1, which do you prefer? nicholas CODE 15 11-05-2004 12:00 PM

 
All times are GMT -7. The time now is 04:46 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger