Update Crypto.php

Correct return test on `crypt()`. 

On failure `crypt()` returns a string that is shorter than 13 characters.
Update model.php

flush_* functions do not need arguments.
Merge pull request #4 from ygbillet/master

Fix some issues (first pull request :)