When generating a hash for a form token, I've seen a few different versions:
$hash = new Zend_Form_Element_Hash('hihacker', array('salt' => 'exitsalt'));
and
$hash = new Zend_Form_Element_Hash('hash', 'no_csrf_foo', array('salt' => 'unique'));
First of all, does the salt have to be unique for each form render? The second one suggests so, but I'm not sure.
Also which is the better way of doing it?