Skip to content

Episode 40 — Use Hashing Correctly: Digests, Salts, HMAC, and Integrity Without False Confidence

October 22, 2025 · 13 min

Show notes

This episode explains hashing as a tool for integrity and secure comparison, and it aligns to GSEC questions that probe whether you understand what hashes can and cannot do. You’ll define a digest as a fixed-length output derived from input data, then explain why hashes detect changes but do not provide confidentiality or identity by themselves. We’ll cover salts as a defense against precomputation and cross-user matching in password storage, and we’ll introduce HMAC as a keyed construction that provides integrity and authenticity when two parties share a secret. Scenarios include file integrity monitoring that detects unauthorized changes, a password database protected by hashing but still vulnerable due to weak algorithms or low work factors, and an API request that needs tamper resistance across untrusted networks. Best practices emphasize choosing modern algorithms, using HMAC for message integrity instead of bare hashes, protecting keys, and verifying that integrity checks are performed at the right points in the workflow. Troubleshooting centers on mismatches caused by encoding differences, canonicalization issues, and false confidence when teams confuse “hashed” with “secured.” Produced by BareMetalCyber.com, where you’ll find more cyber audio courses, books, and information to strengthen your educational path. Also, if you want to stay up to date with the latest news, visit DailyCyber.News for a newsletter you can use, and a daily podcast you can commute with.

All episodes of Certified: SANS GIAC GSEC Audio Course

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.