Re: SSN encryption
tomstdenis_at_gmail.com
Date: 09/29/05
- Next message: posting_at_big-numbers.com: "Re: How to generate a Windows style license key"
- Previous message: drfremove_at_nber.org: "SSN encryption"
- In reply to: drfremove_at_nber.org: "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: 29 Sep 2005 05:42:30 -0700
drfremove@nber.org wrote:
> We want to encrypt social security numbers in a database. The special
> requirement is that the same SSN should encrypt to the same value
> regardless of context. That way when new records are added to the
> database it will be possible to easily match them to existing records.
> Also, the tables can be sorted or selected and still matched to other
> tables in the database.
Use ... a ... salt [and not a known fixed key]!!!
SSNs are like what 10 digits? that's a 33-bit number... fill the
remainder of the bits with random data and encrypt, voila 128-bit
"token" which when decoded gets you a SSN.
Tom
- Next message: posting_at_big-numbers.com: "Re: How to generate a Windows style license key"
- Previous message: drfremove_at_nber.org: "SSN encryption"
- In reply to: drfremove_at_nber.org: "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
|