Crypto Usage Pitfalls

Use when code calls a cryptography library to encrypt, authenticate, derive keys or generate random values (libsodium or a binding of it, AEAD ciphers, file encryption with age): where a key comes from, return values that must be checked, nonce and message-count limits per construction, ciphertext size caps and chunking, rekeying, unbiased random integers, key-derivation contexts, length hiding and the tags age embeds for some recipients.

techmefr Updated

File contents

techmefr/mentis commit 1ffff2b588

Frequently asked questions

npx get-skill add techmefr/crypto-usage-pitfalls