thatgirl100
Technical User
Hi There,
I am trying to encrypt a list of unique patient health card numbers and I am having trouble because there are many cases where 2 or more different health card numbers are being encrypted with the same exact string.
In order to run my encryption program, the health card numbers need to be CHAR(12). They cannot have leading zeros, so first I need to turn them into numbers. My problem is that when I turn them back to strings, the health card numbers that are 11 or 12 digits long are turned into exponents (1.000E +10). Therefore, the HCNs 10001234123 and 10004567456 will both be turned into 1.000E +10 and then once they are encrypted they will look like the exact same value. Can anyone think of a way to avoid them turning into exponents? I tried creating a field of datatype "Float" and making it extra long but this did not work either as soon as I turned the numbers into strings.
Thanks so much.
I am trying to encrypt a list of unique patient health card numbers and I am having trouble because there are many cases where 2 or more different health card numbers are being encrypted with the same exact string.
In order to run my encryption program, the health card numbers need to be CHAR(12). They cannot have leading zeros, so first I need to turn them into numbers. My problem is that when I turn them back to strings, the health card numbers that are 11 or 12 digits long are turned into exponents (1.000E +10). Therefore, the HCNs 10001234123 and 10004567456 will both be turned into 1.000E +10 and then once they are encrypted they will look like the exact same value. Can anyone think of a way to avoid them turning into exponents? I tried creating a field of datatype "Float" and making it extra long but this did not work either as soon as I turned the numbers into strings.
Thanks so much.