Should probably finalize the hash_ctx as well, just in case.