https://pjcs-pwc.blogspot.com/2022/04/checksums-and-early-encryption.html