Basic implementation of a CSRF class.