Well if all you want to do is compare a hash.
❯ sha256sum filename.tar.xz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 filename.tar.xz
Now see if the hashes are the same.
Or if you're using Plasma (probably just a dolphin feature) it includes a hash check tool in file properties.
