I create a hash with SHA3-384. I split the resulting array into two. The first called head has the first 320 bits and the second called tail has the last 64 bits.
Next, I XOR head and tail. Which in fact means I XOR the last 64 bits of head with tail. This gives me a new hash of length 320.
The question is how is this resulting hash in terms of collision resistance compared to SHA-256 on one side and SHA-384 on the other side.
My goal is to produce a 320-bits hash. Is there a better way you would go about this?