Application
Git
Every Git object is content-addressed by the SHA-1 of a tiny header plus its contents. This page reproduces that calculation byte-for-byte for a blob , you can paste any file content and match the result against git hash-object in your terminal.
blob <byteLength>\0<content>
That single string is what Git hashes to identify a file’s object ID. The header binds the object type and exact size so a blob and a tree and a commit with the same body cannot collide.
12 bytes
Git object ID
Verify in your terminal
echo -n "hello world\n" > /tmp/blob.txt
git hash-object /tmp/blob.txt # SHA-1