bit
The smallest unit of data: a single binary digit that is either 0 or 1.
In more detail
Eight bits make a byte. A Bloom filter is an array of bits, each recording only "set" or "not set", which is why it can summarise millions of items in a few megabytes. Hash digests are described by their length in bits, such as 256 bits for SHA-256.
Examples
AES accepts 128-, 192- or 256-bit keys127.0.0.1/8 # first 8 bits are the network partRelated terms
- bytes, kilobytes, megabytes — Units of data size: a kilobyte is about a thousand bytes, a megabyte about a million, a gigabyte about a billion.
- bit array — An array of single bits, each 0 or 1, used to record yes-or-no facts very compactly.
- byte — A unit of digital data made of eight bits, enough to store one of 256 values, such as a single plain-text character.
- key length — The size of a cryptographic key in bits, which sets how many possible keys an attacker would have to try.
- bit-flipping attack — An attack that changes chosen bits of encrypted data so that, after decryption, the message says something different, without the attacker knowing the key.
- CIDR notation — A compact way to write a block of IP addresses as an address, a slash and a number, such as 10.20.1.0/24.
Taught in
- What A Hash Function Promises — Algorithms & Data Structures for Working Engineers
- Bloom Filters: Membership Without The Data — Algorithms & Data Structures for Working Engineers
- Greedy Algorithms: When Local Is Global — Algorithms & Data Structures for Working Engineers
- Defense-in-Depth & Security Control Categories — Cybersecurity Fundamentals, GRC & Cryptography
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography
- Cryptographic Hashing: SHA-256, SHA-3 & Passwords — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography