Guides
Understand before you generate: short guides to create the right secrets and share them without exposing them.
- How to create a strong password that holds up Length, passphrases, password managers, one password per site: what really makes a password strong, and how to share it safely.
- Generate and store a secret key Why a key must come from a cryptographic generator, where to store it, how to rotate it and how to share it with a colleague.
- Verify the HMAC signature of a webhook What an HMAC signature proves, how to compute it on the raw body, compare it without timing leaks and share the secret key without exposing it.
- Understanding and verifying a JWT What a JWT contains, what its signature guarantees, the checks a server must make and the classic mistakes: alg none, keys, expiry.
- Sharing logs without exposing secrets Where secrets hide in logs and configs, how to redact them before opening a ticket, and what to do when one has already been posted.
- Verify a file's integrity with its hash What a SHA-256 checksum proves, how to compute it on Windows, macOS and Linux, and why to send it through a different channel from the file.
- Base64 is not encryption What Base64 is for, why it makes data about a third larger, how Base64url differs, and why it never hides a password, even in a header.
- URL encoding explained Why a URL encodes spaces and accents as %XX, the difference between encodeURI and encodeURIComponent, and the case of the “+” in forms.
- HTML entities and script injection Why text inserted into a page must be escaped, which entities are enough in each context, and why escaping does not replace a CSP.
- Share 2FA access to a shared account Team account, company social media account: how several people can use the same two-factor authentication without weakening it.
- Share your WiFi without reading out the password QR code, guest network, printable card: simple ways to give access to your WiFi without spelling out a twenty-character password.
- Password protect a directory (Apache, Nginx) .htpasswd file, Apache (.htaccess) and Nginx (auth_basic) configuration, choice of hash: password protect a directory, step by step.
- Create an SSH key and add it to a server ssh-keygen, Ed25519 or RSA, authorized_keys, passphrase: create an SSH key pair and log in without a password, step by step.
- Configure a WireGuard peer Keys, addresses, AllowedIPs, Endpoint, pre-shared key: what a WireGuard peer configuration contains and how to install it.
- Basic Auth: what the header really contains Base64 is not encryption: the Authorization: Basic header holds the username and password in plain text. Here is what that means for you.