When you distribute software—especially binaries—you’re making an implicit promise: this file is exactly what I intended to ship. Checksums are how you keep that promise.

In this article we’ll go through what checksums are, why they matter, and how to add them to your own open source project. Let’s get started!

What is a checksum?

A checksum is a fixed-length value derived from a file’s contents using a cryptographic hash function. SHA256 is the gold standard, so unless you have a specific reason to use another algorithm, best to stick with SHA256. If even a single byte of the file changes, the checksum changes completely. After downloading the file, the checksum can be computed and compared against the advertised value. Thus, a checksum is basically a way of saying *“yes…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help