The application I am trying to package comes with its own installer. I am trying to remove this and do everything within the Installatron installer. I have pretty much every nailed down except for one part.
The normal script installer asks the user to provide an admin username, password etc however it stores the password as an sha1 value. The exact function is:
Code: Select all
sha1(sha1(SALT . $password))
So really this is the hash of the hash created from the SALTPASSWORD combination
Can I achieve this in the install file for Installatron?