renamed vars theciphertext* to thehash*