Jump to content

Newbie ish needing help with encryption


liam1412

Recommended Posts

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

Link to comment
Share on other sites

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);

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.