Thread: Md5()
View Single Post
Old 05-31-2006, 07:22 AM   · #11
RickM
www.RickyMills.com
 
RickM's Avatar
 
Name: Rick Mills
Location: Herts, UK
Trader Rating: (94)
Join Date: Sep 2005
Posts: 3,642
NP$: 1213.52 (Donate)
RickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud of
Cancer Survivorship Save The Children Save The Children Cancer Animal Cruelty Child Abuse Cancer Survivorship 9/11/01 :: Never Forget Animal Cruelty Child Abuse Animal Rescue Animal Cruelty Protect Our Planet Protect Our Planet Protect Our Planet
*a little bumpy update*

SHA1:
PHP Code:
<?php    
if($_POST['go'] == 'Go')
{
    echo
sha1($_POST['text']);
} else {
echo
"<form method='post' action='encrypt.php'>
<input type='text' name='text'> <input type='submit' name='go' value='Go'>
</form>"
;
}
?>


That gives the SHA1 output.
For extra security:

PHP Code:
<?php    
if($_POST['go'] == 'Go')
{
    echo
sha1(md5(str_rot13($_POST['text'])));
} else {
echo
"<form method='post' action='encrypt.php'>
<input type='text' name='text'> <input type='submit' name='go' value='Go'>
</form>"
;
}
?>


The above will do SHA1, MD5 and then ROT13


Please register or log-in into NamePros to hide ads
__________________
$7.99 .MOBI Registration!Entrepreneur & Tech BlogWebmaster Community
Free Website Counters & Tracking
Accepting offers on: (pm or visit my site)
LWWH*com | SwitchMy*com | NetworkMOBI*com | MLLK*net | +Lots of LL-L.com domains!
RickM is offline   Reply With Quote
Site Sponsors
Hunting Moon Proof is in the Parking Arcade Script
Advertise your business at NamePros
All times are GMT -7. The time now is 02:15 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.