Security & Encoding
Tokens, hashes, keys and encodings.
In this chapter
- S1JWT Decoder180
Decode a JSON Web Token, check its time claims and verify the signature with a secret or public key.
- S2JWT Generator182
Build and sign a JSON Web Token with an HMAC secret or an RSA, EC or Ed25519 private key.
- S3Base64 Encode / Decode184
Encode text or files as Base64 or Base64URL, and decode Base64 back to text or a file.
- S4URL Encode / Decode186
Percent-encode or decode URL text, and parse a URL into editable parts and query parameters.
- S5Hash Generator188
MD5, SHA-1, SHA-2, SHA-3, BLAKE2b, BLAKE3 and CRC-32 of text or large files, with checksum comparison.
- S6HMAC Generator190
Compute HMAC-SHA1/256/384/512 with a text, hex or Base64 key, and compare against an expected signature.
- S7Bcrypt & Argon2192
Hash passwords with bcrypt or Argon2id and verify a password against an existing hash.
- S8Password Generator194
Random passwords and EFF-wordlist passphrases, with a zxcvbn strength meter and crack-time estimates.
- S9UUID / ULID Generator196
Generate UUID v1/v4/v7, ULID and NanoID in bulk, and decode versions and timestamps.
- S10AES Encrypt / Decrypt198
Password-encrypt text or files with AES-256-GCM (PBKDF2 or Argon2id) in a self-describing format.
- S11Key Pair Generator200
Generate RSA, ECDSA or Ed25519 key pairs as PEM, JWK and OpenSSH public keys.
- S12X.509 Certificate Decoder202
Decode a certificate or CSR: subject, issuer, validity, SANs, key usage, extensions and fingerprints.
- S13TOTP / HOTP Generator204
Generate 2FA codes from a secret, and create otpauth:// links and QR codes for new secrets.
- S14Basic Auth Header206
Build or decode an HTTP Basic Authorization header.
- S15HTML Entities208
Escape text as HTML entities or decode named and numeric character references.
- S16Hex ⇄ Text ⇄ Binary210
Convert between UTF-8 text, hex, binary and decimal bytes, with an ASCII table.
- S17Unicode Inspector212
Inspect code points and bytes, find zero-width, bidi and look-alike characters, and clean them.
- S18ROT13, Caesar & Morse214
ROT13 and Caesar shifts with brute force, plus Morse code translation with audio.