Cryptography Basics
Fundamental cryptographic concepts.
Fundamental cryptographic concepts.
The core concepts of applied cryptography: symmetric and asymmetric encryption, hashes, signatures, PKI and cipher types, with the supporting ideas of nonces, salts, key derivation, forward secrecy and authenticated encryption that decide whether those primitives are used safely.
| Term | Description |
|---|---|
| Symmetric Encryption | Same key is used for encryption and decryption. |
| Asymmetric Encryption | Public and private key pair used for encryption and signing. |
| Hash Function | One-way function producing a fixed-size digest. |
| Digital Signature | Uses a private key to sign and a public key to verify. |
| Public Key Infrastructure | Framework for managing public-key certificates. |
| Block Cipher | Encrypts fixed-length blocks of plaintext. |
| Stream Cipher | Encrypts data one bit or byte at a time. |
| Nonce / IV | A value used once per encryption under a key so that identical plaintexts produce different ciphertexts; reusing it can be catastrophic. |
| Salt | A random per-item value mixed into a password hash so identical passwords hash differently and precomputed tables fail. |
| Key Derivation Function | A function that derives one or more keys from a secret or password, often deliberately slow for passwords. |
| Perfect Forward Secrecy | A property where compromise of long-term keys does not reveal past session keys, achieved with ephemeral key exchange. |
| Authenticated Encryption (AEAD) | Encryption that also proves the ciphertext and associated data have not been altered. |
| Certificate Authority | A trusted party that signs certificates binding a public key to an identity. |
| Entropy | A measure of unpredictability. Keys and tokens must come from a cryptographically secure random source. |
| Kerckhoffs's Principle | A system should remain secure even if everything except the key is public. |
| Collision Resistance | The property that it is computationally infeasible to find two different inputs with the same hash. |
The shape of this dataset, read from the data itself: every column, its type and a real value. Agents can use this to plan a query without fetching the whole document.
| Section | Field | Type | Example |
|---|---|---|---|
| data | term | string | Symmetric Encryption |
| data | description | string | Same key is used for encryption and decryption. |
The static files contain the same reference rows as the API, with no API rate limit. Live metadata, such as view counts, may differ. Use the API for content negotiation; use the static files for a cacheable snapshot.
curl "https://yjtoon.yunusemrevurgun.com/api/dataset/cryptography-basics?format=toon"
const res = await fetch( "https://yjtoon.yunusemrevurgun.com/static-data/dataset/cryptography-basics.toon" ); const toon = await res.text();
Rate limit: 120 requests per minute per IP, no key and no signup. API reference →