Jump to content

Storing a SIN number in MySQL


jordanwb

Recommended Posts

In a form that I made that is using HTTPS, one of the fields is for the Applicant and Co-Applicant's SIN numbers. Now I don't know how I'd go about encrypting them securely so that they cannot be obtained in a hacking. Any ideas as to storing SIN numbers safely?

 

I'll probably find something in two minutes. I always do.  :-\

Link to comment
Share on other sites

depends on how you need to access them? you can always encrypt them with a one-way encryption using crypt(). But, you won't be able to read the SIN back. If someone provides the SIN again, you can find the matching record though. Just google for PHP user login tutorials and how to store passwords in a database....same concept

Link to comment
Share on other sites

That's true. So it doesn't really seem worth it to encrypt the SIN numbers.

 

um...that is up to you. obfuscation while not bullet-proof in any way shape or form, it is still a layer of protection. but, by obfuscating, it's adds an extra layer of complexity to your code...

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.