phpSec is a open-source PHP security library that takes care of the common security tasks a web developer faces. XSS filter. CSRF protection. Password hashing helper functions. Logging functions. Data encryption. Enhanced session security. Session encryption. Random data generator.

