patched version of keccack