super password encryption

Started on the old forum in June 2011 · view the original in the archive · old links redirect here

20 replies · 1,638 views · started 15 years ago · 1 min read

14 participants
Jerson Developer · 70 posts #1

What do you think about this? Im not pro but i think im insane in coding php haha.... try this... 32 character output for encrypting password..

<?php
/*
Jerson M. Guerrero
Philippines
Jerson Super Encryption
Made in the Philippines
(Please dont removed this copyrights) 
Note: PHP 5 >= 5.1.2
*/

	function jersonph1($str) {
		$str = base64_encode($str);
		$str = base64_encode($str);
		$str = hash("sha512",$str);
		$str = base64_encode($str);
		$str = sha1($str);
		$str = sha1($str);
		$str = sha1($str);
		$str = base64_encode($str);				
		$str = sha1($str);
		$str = base64_encode($str);
		$str = sha1($str);
		$str = sha1($str);
		$str = sha1($str);
		$str = md5($str);
		$str = md5($str);
		return $str;
	}
?>

output like this.......

$password = "yourpassword";
jersonph1($password);

please just drag your comments here......

Added after 6 minutes:

if doesnt work just remove the

$str = hash("sha512",$str); int he function

Attachments: encryption.zip
ksg91 Developer · 162 posts #3

^Its too much. I see no purpose of repeatedly hashing! >_> And how are you suppose to decrypt the password? lol now dont say its one-way encryption!! 😛

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

GumSlone Administrator Principal · 1,690 posts #4

ksg91 wrote: ^Its too much. I see no purpose of repeatedly hashing! >_> And how are you suppose to decrypt the password? lol now dont say its one-way encryption!! :P

you dont need to decript the password, only the account owner should know the password, or else it does not make much sense to encript password.

i would say its more than enough to encript password 2 or 3 times

function jersonph1($str) { 
        $str = hash("sha512",$str); 
        $str = sha1($str); 
        $str = md5($str); 
        return $str; 
}    

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Jerson Developer · 70 posts #5

I just want to secure my users. In case my website will be get hacked the hacker will never know the users password 4ever... As a responsible being you dont need to know others password am i right? i can give a forgot password by resetting password and not by sending their password... Thanks for your comments. 🙂 i really design it overkill haha.

morency Senior · 488 posts #6

why dont use just MD5 ??

Unamos los corazones,hoy todos somos multicolores!

ksg91 Developer · 162 posts #7

GumSlone wrote: you dont need to decript the password, only the account owner should know the password, or else it does not make much sense to encript password.

I know that but I am saying for encryption, there exists decryption. Other way, its called one way hashing. He used its encryption so I am just saying that its no encryption but rather onw-way hashing. 🙂

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

just_m3. Developer · 199 posts #8

morency wrote: why dont use just MD5 ??

md5 can be decoded by online library sites like md5decrypter google it

This is ten percent luck, twenty percent skill Fifteen percent concentrated power of will Five percent pleasure, fifty percent pain 😂And a hundred percent reason to remember the name!

metulj Super moderator Principal · 1,726 posts #9

just_m3. wrote: md5 can be decoded by online library sites like md5decrypter google it

since when md5 can be decoded ??? i really don't know how many times this need to be told... md5 is ONE WAY encryption and CANNOT be decoded... it can be only ''cracked'' that means that there exist large databases, and IF your password is already in it then you can get ''original'' word, and theres no warranty it'll work 100 % for example here's one hash:

2ccd816e3b26ca5ee367e9716c546a4e

decode it by onlnine library's...

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

morency Senior · 488 posts #10

I am very sure you will become billionaire when you find a way to decode md5 😀

Unamos los corazones,hoy todos somos multicolores!

Jerson Developer · 70 posts #12

Thats why i made it because there is no way to be cracked..... Yes there are sites that have md5 decoder... There is easy way to decode md5 but you need very very large database about 9999999999 terabyte diskspace just to make a word to md5 combination.. w/c is next to imposible. Haha..

ogah Junior · 17 posts #13

sometime md5encoded possible decoded with MD5 decrypter / decoder but that site not really decode md5encoded, that site is old site and have big database md5 from Tools to help encode/encrypt or decode/decrypt MD5, MD4, Sha1, URL encoding, Base85 or Base64

for proving that the site is not really decoder. first make md5 encoder on localhost or on your site to encode your word, than decode your md5encoded word with MD5 decrypter / decoder if they say error No conversion available, try encode your word with Tools to help encode/encrypt or decode/decrypt MD5, MD4, Sha1, URL encoding, Base85 or Base64 then redecode again with MD5 decrypter / decoder now your md5encoded word can decoded because available on their database

php_n0ob Newbie · 7 posts #15

Achinipx :D decode it

77f646152b20f261d5509b653e3d4fe2
CreativityKills Lead · 833 posts #16

One-Way Encryption Is The Way Forward. Decrypting A Password Only Benefits The Web Developer (When He Wants To Peep The Users Password, Which Is Stupid BTW And If You Have Any Ounce Of Pride You Wont). using Normal PHP Functions Like md5 And sha1 Are Usually Enough To Protect A Password. md5 Decrypters Only attempt To Guess The Encrypted Passwords. If You Feel Like You Want To Do More Then Use PHP mcrypt's Extension. That Amount Of Recursive Encryption Is A Useless Waste And Abuse Of PHP Resources.

$XTREME$ Developer · 82 posts #17

md5() , u can security ur password by md5 encoder

arnage Lead · 811 posts #18

I like this simple combination. 🙂

function hash($string) {
	return md5(sha1(md5($string)));
}
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
zain Junior · 43 posts #19

i agree with arnage 🙂 , Keep it simple yet secure.... this is my way..

	function hash($string) { 
		$salt = 's+(_a*';
		 return sha1(md5($string.$salt));  
		 }
metulj Super moderator Principal · 1,726 posts #20

php_n0ob wrote: :D decode it

77f646152b20f261d5509b653e3d4fe2

so i did.. now what ? 😛

hibuddy

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close