Re: counter mode and data integrity

From: Joerg Platte (Joerg.Platte_at_uni-dortmund.de)
Date: 10/31/03


Date: Fri, 31 Oct 2003 13:38:44 +0100

John E. Hadstate wrote:

> If I understand your proposal, you want to use part of a hash of the block
> data concatenated with a block address as the counter in CTR mode. You
> would then encipher the block data using the CTR-mode ciphertext.
>
> My question is, how do you decipher the data? You need the plaintext to
> compute the hash that makes-up part of your counter. If you don't have
> the plaintext available, with what do you feed the counter?

The counter (hash value) can be stored with the corresponding block. There
is no need to encrypt or protect the counter value. So it's possible to
decipher the block with this counter and the secret AES key.

regards,
Jörg

-- 
Dipl.-Ing. Jörg Platte
Computer Engineering Institute | phone:  +49 231-755-6165
University Dortmund            | mobile: +49 178-2978865
44221 Dortmund / Germany       | fax:    +49 231-755-3251


Relevant Pages

  • Re: counter mode and data integrity
    ... > John E. Hadstate wrote: ... >>the plaintext available, with what do you feed the counter? ... > The counter (hash value) can be stored with the corresponding block. ... > decipher the block with this counter and the secret AES key. ...
    (sci.crypt)
  • Re: Reducing the chance of collisions in known encryption systems
    ... > Isn't it that in your scheme one hash gives one ... collision string = a plaintext string of characters that would result ... The idea is to use a predefined ruleset (such as the ascii values of ...
    (sci.crypt)
  • Re: Does OTP need authentication?
    ... > I am assuming that the original sender would calculate the hash of the ... > plaintext, append that hash to the plaintext, and encrypt the lot with ... > the OTP. ... I'm never sure about Mallory.) ...
    (sci.crypt)
  • Re: Combined Signature and Encryption Schemes.
    ... A block cipher on the Plaintext, this gives me the CipherText ... A Mac on the Ciphertext ... digitally signing the MAC value would remove the need for a hash pass ...
    (sci.crypt)
  • RE: On passwords, securtiy and real -sweat, blook and tears- life
    ... it's rarely sent as plaintext anymore. ... In some cases the password is "hashed" locally and the hash, ... I.e.,, take all permutations of allowed password characters and then ... Unfortunately most passwords are dictionary words, ...
    (Fedora)