โ† All Cryptocurrency Flashcard Decks

Cryptography and Hashing Flashcards

6 cards from real Cryptocurrency practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Cryptography and Hashing flashcards as text
  1. Which of the following is NOT a fundamental property of a cryptographic hash function used in blockchain technology?

    Answer: Reversibility

    Cryptographic hash functions are designed to be one-way, meaning it is computationally infeasible to reverse the function and find the original input from the output hash. This property is known as pre-image resistance. [2, 20] Deterministic means the same input will always produce the same output. [2, 12] Collision resistance means it is computationally infeasible to find two different inputs that produce the same hash output. [2, 21]

  2. A user wants to send a secure message to another user on a cryptocurrency network, ensuring both confidentiality and authenticity. The sender uses the recipient's public key to encrypt the message. What must the recipient use to decrypt the message and what does this process primarily ensure?

    Answer: The recipient's private key, to ensure confidentiality.

    In asymmetric cryptography, a message encrypted with a public key can only be decrypted by the corresponding private key. [3, 17] Since the sender used the recipient's public key, only the recipient, who holds the matching private key, can decrypt it. This process ensures confidentiality, meaning only the intended recipient can read the message.

  3. In the context of Bitcoin's Proof-of-Work, miners repeatedly hash the block header with a changing nonce. What is the primary goal of this process?

    Answer: To find a hash value that is below a certain target value.

    Bitcoin's Proof-of-Work (PoW) consensus mechanism requires miners to find a hash for the block header that is below a specific target value set by the network's difficulty. [12, 22] They do this by iterating through a number called a 'nonce' until the resulting hash meets the condition. This process requires significant computational effort, which secures the network.

  4. A developer is creating a new cryptocurrency and needs to choose a hashing algorithm. They are deciding between SHA-256 and Keccak-256. Which major cryptocurrency is primarily associated with Keccak-256?

    Answer: Ethereum

    Ethereum uses Keccak-256 as its primary hashing algorithm, which is a member of the SHA-3 family. [7, 14] Bitcoin famously uses the SHA-256 algorithm. [1, 27] Litecoin and Dogecoin both use the Scrypt algorithm. [16]

  5. To create a digital signature for a transaction, a user's wallet software first hashes the transaction data. What is the next step in this process?

    Answer: The hash is encrypted with the user's private key.

    A digital signature is created by taking the hash of the message or transaction data and then encrypting that hash with the sender's private key. [13, 19, 23] This proves that the owner of the private key authorized the transaction, providing authenticity and non-repudiation.

  6. What is the 'avalanche effect' in the context of cryptographic hashing?

    Answer: A small change in the input data results in a completely different hash output.

    The avalanche effect is a desirable property of cryptographic hash functions where a minor change to the input (like flipping a single bit) will cause a significant and unpredictable change in the output hash. [2, 21] This ensures that similar inputs do not result in similar-looking outputs, which is crucial for security.