Read the PHP manual on [man]crypt/man and you will see that the second parameter is a salt.
As for whether it is a good method of encryption: it is only one-way encryption, and thus pretty much functions as a cryptographic hash. You might want to consider something like the mcrypt extension if you really need encryption, and the hash extension if you need cryptographic hashes.