Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> [PHP + MySQL] Encrypting Data, To protect the password of your DB, for example.
Quatrux
post Sep 13 2008, 04:38 PM
Post #11


the Q
Group Icon

Group: [HOSTED]
Posts: 1,133
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:5.70



Note; to people who will use my method to encode/encrypt the password, it seems really a great method and it seems really hard to obtain the actual password, but one day I woke up and understood one bad thing about it:

Because the password is always random and all those random passwords can evaluate to true if a check is being made, there are much bigger chance that the cracker will guess the password by using random letters and numbers and symbols, this is really quite a big flaw, I will need to rethink how it works and I ill need to make it create a one unique encrypted password to use..

The only thing now I can say about this function is that if you want to hide the word, it will be hard to get it back for a cracker if he does not have the encryption function and could not be guessing.. heh! I'm really disappointed, but when you think, it still is a quite good way to store your passwords, just that it could be even better if I will make it create only one unique string..
Go to the top of the page
 
+Quote Post
iGuest
post Sep 4 2008, 06:45 AM
Post #12


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



How do we can fetch the encrypted password into decrypted form in php,mysql ?
[PHP + MySQL] Encrypting Data

I have inserted a password in mysql database in encrypted form using md5 but if the user forgets his password then how we can fetch the encrypted password into decrypted form ( original password)

-question by sharat khajuria
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Php, Sql Lite: Storing Session's Data?(1)
  2. Need Help With A PHP - MySQL Registration Script(13)
  3. Important: Basics Of Using PHP And MySQL(10)
  4. Need Help With 2-Way Password Encryption(8)
  5. Need An Alternative To $http_post_data For PHP4(5)
  6. Data Passing - Re An Assignment For School - Please Help :)(8)
  7. Need MySQL Alternative To The Syntax "or die()"(8)
  8. Send XML Data To PHP Page(0)
  9. Re-order MySQL Table(11)
  10. PHP & MySQL: Displaying Content From A Given ID(6)
  11. How To Show Serial Nums In PHP Table For Contents Of MySQL DB(4)
  12. Proper Way To Grab User Data?(1)
  13. Retrieving Data And Displaying In Boxes(6)
  14. Php Mysql Errors(2)
  15. Sql Injection Prevention (passing Numerical Data Across Pages).(9)
  1. Php/mysql And Manual Page Caching?(4)
  2. Too Many Connections?(4)
  3. Extracting Mysql Maths Using Php(2)
  4. Anyone Know Of A Really Good Mysql Class?(4)
  5. Getting Certain Parts Of A Record(17)
  6. Warning: Mysql_num_rows()(1)
  7. Warning: Mysql_result(): Supplied Argument Is Not A Valid Mysql Result Resource In ...(4)
  8. Password Recovery Script(6)
  9. Making A Link = Mysql_query(8)
  10. Making Something In Mysql Happen Only Once(10)
  11. Mysql Question(inserting Number From A Textfield)(3)
  12. Letting Users Add Mysql Data With Php(1)
  13. Reading Xml Data(2)


 



- Lo-Fi Version Time is now: 5th December 2008 - 05:13 PM