I'm using the following hash with a salt that says 'unique'
. I'm not sure if 'unique'
is a literal string or an internal zend keyword for Zend to actually generate a unique salt?
If it's just a random string I think it's better to change that, so does zend have a random string generation function that could be used to salt this sort of hash element?
$hash = new Zend_Form_Element_Hash('hash', 'no_csrf_foo', array('salt' => 'unique'));