Securing Stored Passwords
- 109Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
109 questions
- 1Storing passwords as readable English words such as Alice's apple creates a database of_____passwords.
Hint
This term describes information stored in its original, unencrypted form.
Answer
plaintext
- 2If an attacker steals a database containing users' plaintext passwords, they can try those credentials on other services in a_____attack.
Hint
This attack reuses stolen username and password combinations on other sites.
Answer
credential stuffing
- 3To reduce the harm caused by a database breach, a server should store a password's_____rather than the password itself.
Hint
This is the output of applying a one-way function to the password.
Answer
hash
- 4The process that takes a password as input and converts it into a hash value is called_____.
Hint
It is the process performed by a hash function.
Answer
hashing
- 5A program or mathematical operation that converts an input into a hash value is a_____function.
Hint
It is the function represented as a black box in the lesson.
Answer
hash
- 6A weak hash function that maps every password starting with A to the same value leaks the password's first_____.
Hint
The example maps A to one value, B to another, and so on.
Answer
letter
- 7When two different inputs produce the same hash output, the result is a_____.
Hint
This term describes two inputs landing in the same output bucket.
Answer
collision
- 8During account registration, the server hashes the submitted password and stores the username with the resulting_____.
Hint
The original password is discarded after this value is produced.
Answer
hash
- 9When a user logs in, the server hashes the submitted password and compares the result with the stored_____.
Hint
The server does not need the original password to perform this comparison.
Answer
hash
- 10A website that can email a user their original password is likely storing it in a form that is not_____.
Hint
A properly stored password should not be recoverable in its original form by the website.
Answer
secure
- 11If a service emails a user their password, the user should avoid reusing that password and consider stopping use of the_____.
Hint
This is the website or application that sent the recoverable password.
Answer
service
- 12Modern password storage should use a suitable one-way key derivation function that makes each password-guessing trial_____.
Hint
The goal is to raise the time or resource cost of guessing.
Answer
expensive
- 13NIST recommends that memorized secrets be_____and hashed to resist offline attacks.
Hint
This adds a value to each password's hashing process.
Answer
salted
- 14The purpose of a password key derivation function is to make the cost of a guessing attack high or_____.
Hint
This word describes a cost so high that carrying out the attack is impractical.
Answer
prohibitive
- 15Rather than inventing a new password-storage scheme, developers should rely on well-reviewed code from a software_____.
Hint
This is reusable third-party code that implements established functionality.
Answer
library
- 16A hash function that takes an input of arbitrary length and produces an output of fixed length has a potentially infinite domain and a finite_____.
Hint
In this mathematical relationship, this is the set of possible outputs.
Answer
range
- 17Because hash outputs have fixed length while inputs can vary in length, different inputs can map to the same output, so hashes are generally_____.
Hint
This describes why a hash should not be reliably reversible to its original input.
Answer
one-way
- 18A password hash is not normally reversed; instead, an attacker can test guesses by hashing them and comparing the resulting_____.
Hint
The attacker compares the outputs of the same hash function.
Answer
values
- 19Trying likely words from a list, hashing each one, and comparing the outputs against stolen hashes is a_____attack.
Hint
The attack uses a prepared list of likely words or passwords.
Answer
dictionary
- 20Trying passwords systematically, such as sequences of numbers and letters, is a_____attack.
Hint
This approach tests many or all possible candidates rather than relying on a word list.
Answer
brute-force
- 21A precomputed table containing candidate passwords and their previously calculated hashes is called a_____table.
Hint
This colorful term refers to a stored collection of password-hash pairs.
Answer
rainbow
- 22Precomputing hashes for many likely passwords can speed up an attack, but storing enough results may require enormous_____space.
Hint
The limitation concerns the size of the hard drives needed for the table.
Answer
storage
- 23Adding a salt to password hashing helps prevent users with the same password from having the same stored_____.
Hint
Different salt values change the output even when the passwords match.
Answer
hash
- 24A password salt is an additional input to the hash function; it is not intended to be_____.
Hint
The salt may be stored alongside the hash.
Answer
secret
- 25A server can store a user's salt as part of the stored_____value.
Hint
The salt can be included at the beginning of this stored string.
Answer
hash
- 26When a salted-password user logs in, the server retrieves the salt, hashes the submitted password with it, and compares the result with the stored_____.
Hint
This comparison verifies whether the password is correct.
Answer
hash
- 27For salts to reduce matching hashes among users with the same password, different users should receive_____salts.
Hint
If the salts match as well as the passwords, the outputs can match.
Answer
different
- 28If two users happen to receive the same salt and choose the same password, their hashes may still be_____.
Hint
The same inputs to a deterministic function produce the same output.
Answer
identical
- 29A well-designed modern password hash can make repeated hashing unnecessary because its intended security characteristics are built into the_____.
Hint
This is the algorithm used to transform the password.
Answer
function
- 30The identifiers between dollar signs in some stored password hashes can indicate which hash_____was used.
Hint
This identifier tells the system how the stored value was generated.
Answer
function
- 31SHA-2 and SHA-3 are families of recommended cryptographic_____functions.
Hint
They turn inputs into fixed-length outputs.
Answer
hash
- 32Cryptographic hashes can represent entire documents, not just_____.
Hint
A hash function can accept an arbitrary-length input such as an essay or contract.
Answer
passwords
- 33Hash functions can help check the_____and integrity of messages.
Hint
This concerns whether a message is genuine, as well as whether it was altered.
Answer
authenticity
- 34The study and practice of securing data is called_____.
Hint
This field includes hashing and encryption.
Answer
cryptography
- 35A code maps code words to the actual message or true_____they represent.
Hint
This is the meaning that the code words stand for.
Answer
reading
- 36A message in its original, readable form before coding or encryption is called_____.
Hint
This is the original message that a sender wants to communicate.
Answer
plaintext
- 37Converting a plaintext message into code words is to_____it.
Hint
This is the sender's operation when using a codebook.
Answer
encode
- 38Using a codebook to turn received code words back into the original message is to_____.
Hint
This reverses the encoding process.
Answer
decode
- 39Unlike codes based on words or phrases,_____often operate on individual letters or bits.
Hint
These methods apply algorithmic transformations to smaller units of a message.
Answer
ciphers
- 40Converting plaintext into ciphertext with an algorithm is to_____or encrypt the message.
Hint
This is synonymous with encrypting in the lesson.
Answer
encipher
- 41Taking ciphertext and restoring its readable plaintext is to_____or decrypt it.
Hint
This is synonymous with decrypting in the lesson.
Answer
decipher
- 42A value used to configure a cipher for a particular encryption process is called a_____.
Hint
It is the information used along with the algorithm to control encryption and decryption.
Answer
key
- 43A cipher's algorithm can be public, while the information that should generally remain secret is the_____.
Hint
This is the protected value that configures the algorithm.
Answer
key
- 44A Caesar cipher is a rotational cipher that shifts each letter by a chosen number of positions in the_____.
Hint
For example, with a shift of one, A becomes B.
Answer
alphabet
- 45In a Caesar cipher with a key of 1, the plaintext letter A becomes the ciphertext letter_____.
Hint
The cipher shifts the letter forward by one position.
Answer
B
- 46ROT13 shifts letters by 13 places and is useful for casual scrambling, but it is not intended to provide strong_____.
Hint
It can be undone easily and is sometimes used to hide spoilers.
Answer
security
- 47A rotational cipher with a key of 26 leaves English letters unchanged because the alphabet has_____letters.
Hint
The shift goes all the way around the English alphabet.
Answer
26
- 48An attacker can break a Caesar cipher by testing each possible key, an example of a_____attack.
Hint
The attacker systematically tries the small set of possible shifts.
Answer
brute-force
- 49The process of analyzing ciphertext to discover its plaintext or key is called_____.
Hint
It is the activity of trying to break or understand a cipher.
Answer
cryptanalysis
- 50Encryption that requires both sender and receiver to use the same key is called_____key encryption.
Hint
The sender and receiver share one secret key.
Answer
symmetric
- 51Secret key cryptography relies on keeping the shared encryption key_____.
Hint
Both parties must protect this key from others.
Answer
secret
- 52AES and triple DES are examples of commonly used_____key encryption algorithms.
Hint
Both sender and receiver use the same key with these algorithms.
Answer
symmetric
- 53In symmetric encryption, the sender combines plaintext and a key to produce_____.
Hint
This is the scrambled output sent to the recipient.
Answer
ciphertext
- 54The recipient uses the shared key and the ciphertext to recover the_____.
Hint
This is the original readable message.
Answer
plaintext
- 55A fundamental challenge for symmetric encryption is securely establishing a shared_____before communicating.
Hint
The sender and receiver need to agree on this protected value in advance.
Answer
secret
- 56Encryption using a public key and a private key is called_____key encryption.
Hint
The two keys have different roles rather than being the same shared key.
Answer
asymmetric
- 57In public key encryption, the key that may be shared openly is the_____key.
Hint
It can be posted online or shared with correspondents.
Answer
public
- 58In public key encryption, the key that its owner must keep private is the_____key.
Hint
It should remain on the owner's device and not be shared.
Answer
private
- 59To send someone an encrypted message with public key encryption, the sender encrypts it using the recipient's_____key.
Hint
This key is shared with the world by its owner.
Answer
public
- 60A message encrypted with someone's public key can be decrypted by that person's corresponding_____key.
Hint
Only the owner should possess this key.
Answer
private
- 61RSA public key cryptography relies on the difficulty of factoring the product of two large_____numbers.
Hint
Each of the two numbers is divisible only by itself and 1.
Answer
prime
- 62In the simplified RSA description, multiplying two large primes produces a value labeled_____.
Hint
This value is used in the later modular arithmetic.
Answer
n
- 63RSA encryption and decryption use modular arithmetic, in which the mod operation finds a_____.
Hint
This is what remains after division.
Answer
remainder
- 64An algorithm designed to let two parties establish a shared secret over a public channel is_____.
Hint
Alice and Bob can exchange values without sending the shared secret itself.
Answer
Diffie-Hellman
- 65In the Diffie-Hellman example, Alice and Bob agree on a generator and a large prime, while each keeps a separate_____value private.
Hint
Each party uses this value in its own calculation and does not send it.
Answer
key
- 66After completing the Diffie-Hellman exchange, both parties can use their matching result as a shared_____.
Hint
This value can then be used with a symmetric cipher.
Answer
secret
- 67A digital signature begins by hashing the message or document to create a fixed-length_____.
Hint
This is a short representation of the document.
Answer
hash
- 68To create a digital signature, the signer uses their private key with the document's_____.
Hint
The signature algorithm operates on the short representation of the document.
Answer
hash
- 69The output produced when a signer applies their private key to a document hash is the digital_____.
Hint
The recipient can later verify this value.
Answer
signature
- 70To verify a signed document, the recipient hashes the received document and decrypts the signature using the signer's_____key.
Hint
This key is available to recipients who need to check the signature.
Answer
public
- 71A digital signature is valid when the hash calculated from the document matches the hash recovered from the_____.
Hint
The recipient processes this value with the signer's public key.
Answer
signature
- 72Digital signatures provide a way to verify a document's origin and integrity, rather than keeping the document_____.
Hint
The document itself may be readable by both sender and receiver.
Answer
private
- 73The security of a digital signature depends on protecting the signer's_____key.
Hint
If this key is stolen, an attacker may be able to sign as its owner.
Answer
private
- 74A public key must be reliably associated with its owner through a registry or another system of_____.
Hint
Recipients need confidence that the key really belongs to the claimed signer.
Answer
trust
- 75A private key can be used to create a signature, and the corresponding public key can be used to_____it.
Hint
This is the recipient's check of the claimed signature.
Answer
verify
- 76Passkeys are an implementation of the web authentication standard that can support_____accounts.
Hint
Users need not create or memorize a conventional password for these accounts.
Answer
passwordless
- 77When registering a passkey, a device generates a public and private key pair for a particular website or_____.
Hint
The pair is specific to the online service being registered with.
Answer
app
- 78During passkey registration, the device sends the website the public key and identifying information, but not the_____key.
Hint
This key stays on the user's device or within their software.
Answer
private
- 79A fingerprint, face scan, or PIN can help demonstrate that the user is authorized to use the device that holds a_____.
Hint
This is the credential used instead of a conventional password.
Answer
passkey
- 80When a passkey user logs in, the website sends a randomly generated_____for the device to sign.
Hint
This is the temporary message that the site asks the device to sign.
Answer
challenge
- 81A passkey device signs the website's challenge with its_____key.
Hint
The device uses the key that was not shared with the website.
Answer
private
- 82The website verifies a passkey login by checking the signature with the user's stored_____key.
Hint
This is the key received by the website during registration.
Answer
public
- 83Passkeys reduce the need to remember many passwords, but users still need access to the device or synchronized keys that hold their_____keys.
Hint
These are the keys needed to sign future login challenges.
Answer
private
- 84When a provider synchronizes passkeys across devices, it should do so without gaining access to the users'_____keys.
Hint
These are the secret parts of the key pairs.
Answer
private
- 85A secure connection between a user and an email provider does not necessarily mean messages are encrypted from sender to_____.
Hint
The provider may be able to access messages between these two people.
Answer
recipient
- 86Data protected while traveling between a user and a service is said to be encrypted in_____.
Hint
This describes data moving from one point to another.
Answer
transit
- 87HTTPS indicates a secure connection between a browser and a website, but it does not by itself guarantee_____-to-end encryption.
Hint
This stronger form protects data between the communicating users despite intermediaries.
Answer
end
- 88Encryption that ensures only the communicating endpoints can read the message is called_____encryption.
Hint
The name indicates that protection extends between the two communicating users.
Answer
end-to-end
- 89With end-to-end encryption, an intermediary without the key should see only the message's_____.
Hint
This is the scrambled form of the message.
Answer
ciphertext
- 90Zoom or an email provider may be able to access communications if protection ends at the provider rather than being_____-to-end.
Hint
The stronger protection must extend from one communicating user to the other.
Answer
end
- 91Whether users can use end-to-end encryption depends on whether their chosen service_____it.
Hint
The user may need to choose a service or feature that provides this protection.
Answer
offers
- 92Moving a file to the Recycle Bin or Trash usually removes its listing but does not immediately erase its underlying_____.
Hint
The file's bits may remain on the storage device.
Answer
data
- 93After a file is deleted, an operating system typically forgets its location and marks the space as available for_____.
Hint
Later files may occupy the same storage space.
Answer
reuse
- 94Until deleted file space is overwritten, remnants of the file may remain on the storage_____.
Hint
This could be a hard drive, solid state drive, or USB stick.
Answer
device
- 95Secure deletion aims to overwrite a file's bits so that the original information is effectively_____.
Hint
The old pattern should no longer remain available to recover.
Answer
gone
- 96A secure deletion process can overwrite a file with zeros, ones, or_____bits.
Hint
This option replaces the old pattern with an unpredictable new pattern.
Answer
random
- 97Full-disk encryption is an example of encryption_____rest, which protects data while it is stored on a device.
Hint
The phrase contrasts with encryption in transit.
Answer
at
- 98With full-disk encryption enabled, data should remain unreadable while the device is locked unless the user can_____it.
Hint
The user may do this with a password or biometric.
Answer
unlock
- 99Full-disk encryption can protect data on a stolen device if the device is locked and the attacker cannot provide the required password or_____.
Hint
A fingerprint or face scan is an example of this type of authentication factor.
Answer
biometric
- 100When a device is encrypted at rest, its stored bits should look like_____data to someone without the key.
Hint
The encrypted storage should not reveal the readable original.
Answer
random
- 101Full-disk encryption can help protect data when a device is resold because the buyer cannot decrypt it without the original_____.
Hint
This is one possible credential used to unlock the encrypted device.
Answer
password
- 102Because storage hardware can wear out and stop accepting new bit patterns, encryption at rest is best enabled when a device is first_____.
Hint
The recommendation is to protect data from the beginning of the device's use.
Answer
acquired
- 103A user who loses the credentials needed for full-disk encryption may lose access to the data, illustrating a trade-off between security and_____.
Hint
This concerns how convenient a system is to use.
Answer
usability
- 104Malware that encrypts a victim's data and demands payment for a decryption key is called_____.
Hint
The name reflects the demand made in exchange for restoring access.
Answer
ransomware
- 105Ransomware attackers may demand payment in_____in exchange for the key to decrypt the victim's data.
Hint
This is a cryptocurrency mentioned as a possible ransom payment.
Answer
bitcoins
- 106A quantum bit, or qubit, can represent a zero and a one at the same_____.
Hint
This is what distinguishes the described quantum state from an ordinary bit.
Answer
time
- 107In the example, two qubits can represent four states at once, while three qubits can represent_____states at once.
Hint
Each added qubit doubles the number of represented states in the example.
Answer
eight
- 108If attackers gain access to sufficiently powerful quantum computers before security systems adapt, some current cryptographic protections could become_____.
Hint
The concern is that attacks could become feasible much faster.
Answer
insecure
- 109As quantum technologies develop, cryptographic algorithms will need to_____to preserve data security.
Hint
They must change in response to new computing capabilities.
Answer
evolve

Ask anything
We've read this whole study set, so questions about it get the best answers.