Jump to content

Personal Encryption


steven_elvisda

Recommended Posts

Dear All respective friend,

 

I'm asking for help. during I know how to code in php. I alway use md5() but I had some problem with abit.

 

can anyone introduce me with persona code encryption without using md5()?

 

Your ideal are very important to me especially small example code.

 

Looking forward from you soon.

 

Kindly Regards,

Steve.

Link to comment
https://forums.phpfreaks.com/topic/238191-personal-encryption/
Share on other sites

Hi All friend,

 

My idea is

 

1. I want to create personal encryption for password of user registration to encrypt password(with personal method)

2. the easy way for personal encryption is easy to send email to user and to a void hacker or other crack to crack our personal. in this case if we use md5 or other sha1 we will have problem when some people have our hash code.

 

I hope you understand what I purpose and apologize for my bad english.

 

Kindly Regards,

Steve.

Link to comment
https://forums.phpfreaks.com/topic/238191-personal-encryption/#findComment-1224450
Share on other sites

I agree with revraz. Use salt.

 

This basically means that you add your own distinct hash to the password before you hash it again. something like this:

 

$salt = md5('My_L1ttl3#S4lt');

 

$encrypted = sha1($salt.$password);

 

you can play around with it, use both methods like example (sha1 & md5) or just one, add salt to beginning, end, middles, whatever.

 

hope this helps

Link to comment
https://forums.phpfreaks.com/topic/238191-personal-encryption/#findComment-1224582
Share on other sites

I agree with revraz. Use salt.

 

This basically means that you add your own distinct hash to the password before you hash it again. something like this:

 

$salt = md5('My_L1ttl3#S4lt');

 

$encrypted = sha1($salt.$password);

 

you can play around with it, use both methods like example (sha1 & md5) or just one, add salt to beginning, end, middles, whatever.

 

hope this helps

 

nice many thank for you idea it is very good deal and I never thinking of it before

Link to comment
https://forums.phpfreaks.com/topic/238191-personal-encryption/#findComment-1224965
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.