Do you guys think this is secure enough?

Status
Not open for further replies.

Metrix

Member
Jul 21, 2011
95
23
Got bored out my tits.


Code:
<?php
 
$x="password";
$decievingSALT="asfasfoahoheoighwoiehgoiwheogihwoeghowehgowheoighwoieghiop";
$secondsalt="hoiahoifeoqighoiwehgoiwehgoihweoighwoeihgowehgoiwheoghweoighowiehgoi";
$forthelolz ="YOU'RE NEVER GOING TO DECRYPT THIS. EVER!!!!!!!!!!!!!!!";
echo md5(md5(md5("DGFSDIVHOIRHVOIRHEGOIHERIOBGHO"))).md5(md5(md5(md5(md5("goierhogheoirgoeirgo".$x."test")))));
echo sha1(sha1(sha1(sha1("UOYERAONHCTAMROFYMNOITPYRCE".$sha1Text."asfashfgohoehoahoeighaoeighoiaehoghwoghowehg"))));
echo "$secondsalt" ;
echo md5(sha1(md5(sha1(sha1(md5(sha1(sha1(sha1(md5(md5("$forthelolz")))))))))));
echo sha1(md5(sha1(md5(sha1(md5("HAHFOHOEQFHOIWEHFO".$x."IOHOEOWOIEOH".$decievingSALT."IOOIDFOIHWIEOFHWEF".$secondsalt."EHOIWEHOIHWEOGHOWEHGWEGWEGWEG"))))));
echo sha1(md5("a228d98758824605e2eebb653e1e7f330f066a6f456a02e3a0a899e6004ac7cc131b40e7a2bba1f7caf78cfa12dcdacf9410efb0hoiahoifeoqighoiwehgoiwehgoihweoighwoeihgowehgoiwheoghweoighowiehgoi3592212fe5ce02e3892d"));
 
?>


RESULT:

Code:
a228d98758824605e2eebb653e1e7f330f066a6f456a02e3a0a899e6004ac7cc131b40e7a2bba1f7caf78cfa12dcdacf9410efb0hoiahoifeoqighoiwehgoiwehgoihweoighwoeihgowehgoiwheoghweoighowiehgoi3592212fe5ce02e3892de26b10166cfac32d159afa8a01614a993260385b9c2e0ba9993562e498d1d6aa4b1346ff7b5a8a59ef32fcd0d1e4
 

Metrix

Member
Jul 21, 2011
95
23
I know. I got bored so I just spent an hour going crazy. I'm perfectly aware I could've gone sha1(md5("oiohohoihoihoih".$password."iohohoh")); and been done with it, but where's the fun in that?
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,637
2,389
Umm, whatever, but if you're storing that in a database you have to think how much space it'll take up per user, plus how long it would take PHP to process the entire code and hash everything.
 
Status
Not open for further replies.

Users who are viewing this thread

Top