Archive formats
TAR header checksum
Calculate the unsigned checksum and canonical checksum-field bytes.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Sum all 512 unsigned bytes, treating offsets 148–155 as eight ASCII spaces. Encode the sum as six octal digits, null and space.
An all-zero 512-byte block has a calculated field sum of 256 after substituting the checksum spaces.
Limits
A zero block can mark archive end; this tool only computes the checksum arithmetic. It does not validate a TAR header or archive.