boxbilling/boxbilling — pull request #198 by zuazo (2014-11-25 18:25:33+00:00)
Title: Use PHP sha1() function instead of MySQL SHA1()

[From the MySQL documentation](http://dev.mysql.com/doc/refman/5.5/en/encryption-functions.html):

> **Caution**
> Passwords or other sensitive values supplied as arguments to encryption functions are sent in plaintext to the MySQL server unless an SSL connection is used. Also, such values will appear in any MySQL logs to which they are written. To avoid these types of exposure, applications can encrypt sensitive values on the client side before sending them to the server.

PHP does not use SSL by default to connect to MySQL, so I think this is important.

I know the use of `mysql_real_escape_string()` in the *install/index.php* can be removed, but it does no harm to have it.

By the way, thanks for uploading the source to GitHub. I am delighted that you finally have been able to release it. For me, it's the news of the month :smiley: