Hashes: A Good Tool You Shouldn't Trust Blindly
You meet hashes all day as an iOS dev — hash maps, git, checksums. MD5 and SHA-1 are broken for security, yet hashes are still useful if you know what they actually prove. A short, concrete note.
Amin Benarieb — Senior iOS engineer writing about mobile security, biometrics, and iOS development in regulated, high-stakes domains.
You meet hashes all day as an iOS dev — hash maps, git, checksums. MD5 and SHA-1 are broken for security, yet hashes are still useful if you know what they actually prove. A short, concrete note.
Apple's compressionQuality parameter is not the JPEG Q-factor — 0.8 produces Q94, not Q80. Calibration table from Apple's parameter to the real JPEG Q-factor, plus why iOS files come out smaller than libjpeg at the same nominal Q.
Hardware + AI + BLE project that turns an iPhone into a working laboratory microscope. Full write-up on HackerNoon.
Why Swift’s Double gives you 20.509999999999998 instead of 20.51, and when to reach for Foundation’s Decimal instead.
Skip the rebuild loop: use ProcessInfo environment variables and launch arguments to inject test data and toggle debug behavior in your iOS app at runtime.
Spin up a tiny Python HTTP server that lists all the deep links you need to test, then tap through them in the iOS Simulator.