[advanced search]
Results from the most recent live auction are here.
25 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Webmaster Tutorials
User Name
Password

Closed Thread
 
Thread Tools
Old 06-11-2006, 10:58 AM   · #26
Shorty
Senior Member
 
Shorty's Avatar
 
Name: Thomas White
Location: England
Trader Rating: (15)
Join Date: Sep 2005
Posts: 1,033
NP$: 31.15 (Donate)
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.


Please register or log-in into NamePros to hide ads
Shorty is offline   Reply With Quote
Old 06-11-2006, 11:01 AM   · #27
ApeXX
Senior Member
 
ApeXX's Avatar
 
Name: Mike
Location: Massachusetts
Trader Rating: (34)
Join Date: Mar 2005
Posts: 2,014
NP$: 24.50 (Donate)
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 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";
$encrypted= md5($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";
$encrypted= md5(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.
ApeXX is offline   Reply With Quote
Old 06-11-2006, 11:33 AM   · #28
tm
Senior Member
 
tm's Avatar
 
Name: TheMoose
Location: on a oil rig just off Ireland
Trader Rating: (24)
Join Date: Nov 2005
Posts: 1,402
NP$: 434.65 (Donate)
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
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   Reply With Quote
Old 06-11-2006, 12:40 PM   · #29
Dan
Buy my domains.
 
Dan's Avatar
 
Name: Dan
Trader Rating: (63)
Join Date: Feb 2006
Posts: 2,800
NP$: 54.00 (Donate)
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   Reply With Quote
Old 06-11-2006, 01:16 PM   · #30
tm
Senior Member
 
tm's Avatar
 
Name: TheMoose
Location: on a oil rig just off Ireland
Trader Rating: (24)
Join Date: Nov 2005
Posts: 1,402
NP$: 434.65 (Donate)
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   Reply With Quote
Old 06-11-2006, 03:26 PM   · #31
Dan
Buy my domains.
 
Dan's Avatar
 
Name: Dan
Trader Rating: (63)
Join Date: Feb 2006
Posts: 2,800
NP$: 54.00 (Donate)
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   Reply With Quote
Old 06-11-2006, 04:47 PM   · #32
Tree
NamePros Regular
 
Tree's Avatar
 
Name: Trevor
Location: Atlanta, GA, USA
Trader Rating: (3)
Join Date: Feb 2006
Posts: 331
NP$: 0.00 (Donate)
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.
__________________
NCIDev.com

Last edited by Tree : 06-11-2006 at 04:59 PM.
Tree is online now   Reply With Quote
Old 06-12-2006, 07:11 AM   · #33
Tree
NamePros Regular
 
Tree's Avatar
 
Name: Trevor
Location: Atlanta, GA, USA
Trader Rating: (3)
Join Date: Feb 2006
Posts: 331
NP$: 0.00 (Donate)
Tree will become famous soon enoughTree will become famous soon enough
__________________
NCIDev.com
Tree is online now   Reply With Quote
Old 06-12-2006, 11:46 AM   · #34
tm
Senior Member
 
tm's Avatar
 
Name: TheMoose
Location: on a oil rig just off Ireland
Trader Rating: (24)
Join Date: Nov 2005
Posts: 1,402
NP$: 434.65 (Donate)
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 :P
__________________
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   Reply With Quote
Old 06-12-2006, 12:22 PM   · #35
Dan
Buy my domains.
 
Dan's Avatar
 
Name: Dan
Trader Rating: (63)
Join Date: Feb 2006
Posts: 2,800
NP$: 54.00 (Donate)
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   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

Site Sponsors
http://www.dnfinder.com http://www.internetinvestments.com/ Get Your Site Linked at LinkedKeywords.com
Advertise your business at NamePros
All times are GMT -7. The time now is 08:36 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0