Re: counter mode and data integrity
From: John E. Hadstate (jh113355_at_hotmail.com)
Date: 10/31/03
- Next message: Stefan Seiffarth: "Re: How long to break a 512 bit RSA key?"
- Previous message: Foo Bar: "Re: Provable security against differential cryptanalysis"
- In reply to: Joerg Platte: "counter mode and data integrity"
- Next in thread: Joerg Platte: "Re: counter mode and data integrity"
- Reply: Joerg Platte: "Re: counter mode and data integrity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 31 Oct 2003 06:01:24 -0500
"Joerg Platte" <Joerg.Platte@uni-dortmund.de> wrote in message
news:bnt7fi$f7r$1@nx6.HRZ.Uni-Dortmund.DE...
> Hi!
>
> I want to encrypt a file using AES in counter mode to allow random access.
> To prevent reuse of the counter I can't use the block number as counter.
> Hence, I must store the counter value, and a SHA-1 hash to ensure data
> integrity, for every block with the file.
>
> But I don't want to store the counter value for every block to save some
> bytes. I'm thinking about to use the hash value (computed with the data
> concatenated with the block number) as counter. This ensures data
integrity
> and a different counter value for every block. If two blocks are the same
> the concatenated block number should prevent the same counter value.
>
> Where can I find some information about this "special" counter mode? Is it
> secure?
>
> regards,
> Joerg
>
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?
- Next message: Stefan Seiffarth: "Re: How long to break a 512 bit RSA key?"
- Previous message: Foo Bar: "Re: Provable security against differential cryptanalysis"
- In reply to: Joerg Platte: "counter mode and data integrity"
- Next in thread: Joerg Platte: "Re: counter mode and data integrity"
- Reply: Joerg Platte: "Re: counter mode and data integrity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|