Re: SSN encryption
From: Andrew Swallow (am.swallow_at_btopenworld.com)
Date: 09/30/05
- Previous message: Bryan Olson: "Re: How To Abandon Microsoft"
- In reply to: drfremove_at_nber.org: "Re: SSN encryption"
- Next in thread: drfremove_at_nber.org: "Re: SSN encryption"
- Reply: drfremove_at_nber.org: "Re: SSN encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 29 Sep 2005 22:07:12 +0000 (UTC)
drfremove@nber.org wrote:
[snip]
> Now we have a dataset which is not actually public use, but is used by
> a dozen or so researchers who have signed confidentiality agreements.
> So there is no requirement that the SSNs be hidden. However, we have
> been asked if it wouldn't be possible to conceal the identifiers from
> the research datasets, as an extra level of protection. That way an
> accidental release wouldn't be quite so serious, since the intruder
> would have difficulty finding identifying who any particular record
> referred to. It seems to be a reasonable request, and several
> government agencies have published statements that they do this with
> similar datasets. We are interested in following that lead.
Assuming the researches are using their own computers and that they will
never need to work back to the original SSN.
Generate a secret key variable.
Copy the database a record at a time.
Set each name and most of the address field to spaces. (The researches
may need to know the town or district.)
Use AES encryption to encrypt all zeros to produce 128 random bits;
using the secret key variable and an IV equal to the SSN.
Take the SSN and exclusive (XOR) it with the appropriate number of
random bits. This is the encrypted SSN, insert the number into SSN
field of the copied record. Insert both into the encrypted databases.
If the same key variable is used this method will produce the same
result each time allowing changes to be detected in say 10 years time.
Note: There is a possibility that two different records will be given
the same encrypted number.
If there may be a need to reverse the encryption, for instance the
researches may have discovered people will a high probability of illness
who therefore need a medical inspection.
Set the SSN field in the copied records to a simple count and keep a
secret unmodified copy of the database.
Andrew Swallow
- Previous message: Bryan Olson: "Re: How To Abandon Microsoft"
- In reply to: drfremove_at_nber.org: "Re: SSN encryption"
- Next in thread: drfremove_at_nber.org: "Re: SSN encryption"
- Reply: drfremove_at_nber.org: "Re: SSN encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|