Update auth.class.php

Built working encrypt() function that returns $data encrypted with sha512. Needs more work and MUST work in shared hosting environment.