deepsnow / AutomateCmdSequence

XML-driven tool to automate any sequence of cmd line commands (on Windows via .NET 4.*)
0 stars 0 forks source link

Question about CreateADGAdminUserxx.sql #1

Open s34lab opened 9 years ago

s34lab commented 9 years ago

Hello Doug! Could you be so kind to help me understand, what is the algorithm used in the scripts (insert command in CreateADGAdminUser59.sql script) to make password hash (in your example the hash is 'A@D3FBC0863D976980C165F0D7D81FD0F119B10974' )? How can I make my own hash of my password to insert it to database?

Thanks! Best regards, JJ

deepsnow commented 9 years ago

As it happens, I don't know what library/algorithm was used to make this password hash. I no longer work for the firm to which the ADG database (and the enterprise software package containing that database) belonged. And, even if I did happen to work for them at this time, and I could investigate the code in question, they might not grant me permission to describe their password encryption/obfuscation mechanism to an outsider. What's more, I don't really know how to find available encryption libraries, how to choose the right one for a given need, and how to use that one in a maximally secure fashion. I would start by consulting a copy of "Applied Cryptography" by Bruce Schneier, and by searching in Google for "how to hash a password" or "how to encrypt a password" or "how to obfuscate a password"... Good luck!