News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

PHP MD5 + Salt + sha1 + base64_encde Encryption tutorial tips tricks and demos

Started by Ryan, April 29, 2007, 03:07:18 PM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

 qabizbji http://vowxeojt.com rmcvrswv qmpzexhq  You are not allowed to view links. Register or Login  You are not allowed to view links. Register or Login

heltqrgx
0 (0%)
heltqrgx
0 (0%)
heltqrgx
0 (0%)
heltqrgx
0 (0%)
heltqrgx
0 (0%)

Total Members Voted: 0

Ryan

 What is MD5 ?
MD5 is a function that is able to  create a non-reversible hash of a of strings and usually the strings are passwords
If you think you need more details check   You are not allowed to view links. Register or Login
Or if your satisfied you can check the rest of this tutorial for MD5 + Salt encryption
__________________

For MD5 encryption
PHP Code:
<?php

$password 
"example";

$md5_pass md5($password);

?>


For Salt + MD5 encryption (Recommended)
Although that MD5 can't be decoded but hash dictionaries are now growing up fast online so Salt + MD5 will give you better secure encryption
PHP Code:

<?php

$password 
"example";

$salt 's+(_a*';
$salt_pass md5($password.$salt);

?>


If you don't like the salt + MD5 you might think to  encrypt the string twice This is not a good way
What i prefer in such cases is that i use other encryption engines such as sha1 like
sha1()
The sha1 is new it is much more secure

Now for base64_encde
This is not a very secure though you can easy decode it by base64_decode
so for encoding it should look like
base64_encde('String Goes Here')
and for decoding its like
base64_decode('String Goes Here')
To Update a whole a non encrypted password data in a mysql database use the template below

UPDATE [table_name] set [password_field_name] = MD5([password_field_name])

I think that is a good summary for these few encryption systems if you think your not satisfied please check the detailed tutorials for each type\Computing Forum moderator 1 $ / post
QuoteAge range needed: older than 15
Location: online
Gender: any
Job needed: Computing Forum moderator
Job Rank: got any previous experience
Qualifications needed: good computing skills and do know what to talk about
Number of people needed: [/b] 2

Salary: 1 $ / good post max 2000 posts / month
Only good posts count and excellent posts can have a bonus and if your reputation increase and good feedbacks are left for you by other members then you will also receive good bonus
Contact method: Reply here to reserve your place am waiting few to apply and I will choose the best 2
Other comments: Please do post 5 good posts about computing which you think are great and give me there URL



Marketing our ad system

Job needed: Marketing people who should try to convince other to advertise on our site at You are not allowed to view links. Register or Login . You will get 50% of the total earning from them we get.
Example: Let us say you sent someone to advertise his service or site on RD then he pays us for example 180$ this means you will earn half that amount which is 90$. You can send as much people to use the service as you want


Number of people needed: between 50 to 60


Contact method: pm email what ever you want
Other comments: A member advertised for his site on RD for 500$ he only paid 250$ so I don't really count this as cheating because if u really want to advertise u can advertise in other person's name and you will be paid half that price


Good luck
[Even u can advertise and earn back 1/2 marketing our ad system

Job needed: Marketing people who should try tell other people to buy our shirts at You are not allowed to view links. Register or Login
For each person you send and he buys from our t-shirts you earn up to 80% of our profit
The earning starts by 50% and gets more and more the more you earn
Example: if someone you send buys from our t-shirt shop and we get from him profit for 300$ you will get more than 150$ for sure
Number of people needed: between 20&30
Contact method: pm email what ever you want
Other comments:
Money is sent via check

Good luck
My recommendations:
You are not allowed to view links. Register or Login << free mp3 download - Powered by Ryan's District
You are not allowed to view links. Register or Login << free live anime with naruto and bleach - Powered by Sunite on this forum!

Ryan

PLEASE incase you face any troubles do reply back here askin ur questions
My recommendations:
You are not allowed to view links. Register or Login << free mp3 download - Powered by Ryan's District
You are not allowed to view links. Register or Login << free live anime with naruto and bleach - Powered by Sunite on this forum!