I\'m looking at some code that I have not written myself. The code tries to hash a password with SHA512 and uses just time() as the salt. Is time()
It's best not to reinvent the wheel when it comes to authentication, but to answer your question, no. The problem with time():