liam1412 Posted June 20, 2007 Share Posted June 20, 2007 Hi Poeple Been looking around the web for a tutorial on encryption that isn't object orientated. I am fairly new to prgramming/php and as yet only know procedural. I am building a local site that includes a recruitment section. In this section I want users to be able to input details and also store a cv if required. So I want to know 2 things 1. How would I go about encrypting data into a db then e-mailing the recruiter to say you have had a job application. click here to view. When they click it will decrypt the data. (if they don't have a cv uploaded) 2. Encrypt a file (the cv) and e-mail it securely direct to the recruiter. (if they have one uploaded) Any help would be much appreciated. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/56345-newbie-ish-needing-help-with-encryption/ Share on other sites More sharing options...
liam1412 Posted June 20, 2007 Author Share Posted June 20, 2007 **Obvious Bump** Quote Link to comment https://forums.phpfreaks.com/topic/56345-newbie-ish-needing-help-with-encryption/#findComment-278457 Share on other sites More sharing options...
virtuexru Posted June 20, 2007 Share Posted June 20, 2007 Why would you want to encrypt stuff like that? Only passwords should really be encrypted and then you can just link them to a secure page that they would have to be logged on to see... That's what we do with our Recruiting website. As far as encryption goes: $variable_encrypted = sha1($variable); Quote Link to comment https://forums.phpfreaks.com/topic/56345-newbie-ish-needing-help-with-encryption/#findComment-278461 Share on other sites More sharing options...
cluce Posted June 20, 2007 Share Posted June 20, 2007 I agree with the otehr guy. All I would do is encrpyt passwords and have a logon page to validate user . depending on the level of security you want, you could use md5() or sha1() more info on encryption found here http://us2.php.net/manual/en/function.sha1.php Quote Link to comment https://forums.phpfreaks.com/topic/56345-newbie-ish-needing-help-with-encryption/#findComment-278522 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.