Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: encrypt an ID
From
Jeph Herrin <[email protected]>
To
[email protected]
Subject
Re: st: encrypt an ID
Date
Wed, 07 Apr 2010 15:22:13 -0400
Thanks. That's exactly what I arrived at myself after posting, so
I guess I'm good.
cheers,
Jeph
Austin Nichols wrote:
See
http://statalist.org/archive/2007-06/msg00456.html
On Wed, Apr 7, 2010 at 3:05 PM, Jeph Herrin <[email protected]> wrote:
This has come up before in the archives, but the
answer has not, so worth trying again.
I have a dataset with individuals who have 9 digit
numeric identifiers. I need to encrypt these identifiers
uniquely (ie, in a way that I can unencrypt them later
if needed). The encrypted key can be numeric or string.
I can do something silly like move the digits around
according to some pattern I invent, but would be nice if
there were something more robust available - is there?
If not existing Stata code, maybe an existing alogorithm
that isn't too difficult to implement?
cheers,
Jeph
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/