error1f1f
09-28-2009, 01:30 PM
I have a program that takes a SSN and encrypts it into hex. I'm trying to find the formula it uses to encrypt the SSN's. Looking at the file format I see the first portion is only eight characters, and with a SSN being 9 I can assume that the D in the .DI9 must represent the 9th character. I have tried converting the hex to a decimal value and seeing if there was a pattern in the amount it increments the SSN by 1 but, it is always a different value with some incrementing and some decrementing. Also I can see that when you increase the SSN by 1 it increases the first character of the file name by a hex value of 1. With that said I must not be seeing the pattern here and more specifically the formula. Any help would be greatly appreciated. Below are some sample SSN's with their converted file name.
000-00-0000 = BE000000.DI9
000-00-0001 = CE000000.DI9
000-00-0010 = 5F000000.DI9
000-00-0011 = 6F000000.DI9
000-00-0111 = A5100000.DI9
000-00-1111 = 24500000.DI9
000-01-1111 = 25C20000.DI9
000-11-1111 = 2F2B1000.DI9
001-11-1111 = 235F0100.DI9
011-11-1111 = 2BB89A00.DI9
000-00-0100 = F4100000.DI9
000-00-1000 = 3D400000.DI9
000-01-0000 = BF720000.DI9
000-10-0000 = B8781000.DI9
001-00-0000 = B234F000.DI9
010-00-0000 = B6798900.DI9
100-00-0000 = BE1E5F50.DI9
111-11-1111 = 2BC6F960.DI9
111-11-1112 = 3BC6F960.DI9
123-45-6789 = 00ECB570.DI9
123-45-6780 = 7FDCB570.DI9
222-22-2222 = 978DE3D0.DI9
222-22-2223 = A78DE3D0.DI9
333-33-3333 = 0444ED31.DI9
333-33-3334 = 1444ED31.DI9
444-44-4444 = 700BD7A1.DI9
444-44-4445 = 800BD7A1.DI9
555-55-5555 = ECB1D112.DI9
555-55-5556 = FCB1D112.DI9
666-66-6666 = 5978CB72.DI9
666-66-6667 = 6978CB72.DI9
741-85-2963 = E08C73C2.DI9
777-77-7777 = C53FB5E2.DI9
777-77-7778 = D53FB5E2.DI9
888-88-8888 = 32F5BF43.DI9
888-88-8889 = 42F5BF43.DI9
999-99-9999 = AEACA9B3.DI9
999-99-9990 = 1EACA9B3.DI9
Thanks in advance to anyone willing to help.
000-00-0000 = BE000000.DI9
000-00-0001 = CE000000.DI9
000-00-0010 = 5F000000.DI9
000-00-0011 = 6F000000.DI9
000-00-0111 = A5100000.DI9
000-00-1111 = 24500000.DI9
000-01-1111 = 25C20000.DI9
000-11-1111 = 2F2B1000.DI9
001-11-1111 = 235F0100.DI9
011-11-1111 = 2BB89A00.DI9
000-00-0100 = F4100000.DI9
000-00-1000 = 3D400000.DI9
000-01-0000 = BF720000.DI9
000-10-0000 = B8781000.DI9
001-00-0000 = B234F000.DI9
010-00-0000 = B6798900.DI9
100-00-0000 = BE1E5F50.DI9
111-11-1111 = 2BC6F960.DI9
111-11-1112 = 3BC6F960.DI9
123-45-6789 = 00ECB570.DI9
123-45-6780 = 7FDCB570.DI9
222-22-2222 = 978DE3D0.DI9
222-22-2223 = A78DE3D0.DI9
333-33-3333 = 0444ED31.DI9
333-33-3334 = 1444ED31.DI9
444-44-4444 = 700BD7A1.DI9
444-44-4445 = 800BD7A1.DI9
555-55-5555 = ECB1D112.DI9
555-55-5556 = FCB1D112.DI9
666-66-6666 = 5978CB72.DI9
666-66-6667 = 6978CB72.DI9
741-85-2963 = E08C73C2.DI9
777-77-7777 = C53FB5E2.DI9
777-77-7778 = D53FB5E2.DI9
888-88-8888 = 32F5BF43.DI9
888-88-8889 = 42F5BF43.DI9
999-99-9999 = AEACA9B3.DI9
999-99-9990 = 1EACA9B3.DI9
Thanks in advance to anyone willing to help.