Cookie HASH PERSISTENCE, who computes hash LTM or it's the server that sends the HASH as cookie value

In cookie hash persistence who computes HASH LTM or the server sends hash as cookie value. If LTM computes how is the computation done ?