# What does "reset" mean for IVs in Cipher.doFinal documentation?

David Taylor (dtaylor@forge.com.au)
Fri, 7 May 1999 06:03:42 +1000

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: What does "reset" mean for IVs in Cipher.doFinal documentation?"
- Previous message: NILESH NEMADE: "Regarding signed applet"
- Next in thread: Jan Luehe: "Re: What does "reset" mean for IVs in Cipher.doFinal documentation?"

    From: "David Taylor" <dtaylor@forge.com.au>

    To: list-jce@aba.net.au

    Date: Fri, 7 May 1999 06:03:42 +1000

    Subject: What does "reset" mean for IVs in Cipher.doFinal documentation?

When the JCE docs say a cipher is reset to the state is was in after an
init, what exactly does that mean?

Is the IV reset to it's initial value for CBC mode block ciphers or is it
kept at it's current value in anticipation of more cipher operations?

I'm asking because I am always encrypting a block at a time, so
Cipher.update should always have exactly one block of data to work with.
I'm having some trouble with it and keep being told to use Cipher.doFinal,
but that word "reset" concerns me.

Regards,
David Taylor
Forge Research.

- Next message: Jan Luehe: "Re: What does "reset" mean for IVs in Cipher.doFinal documentation?"
- Previous message: NILESH NEMADE: "Regarding signed applet"
- Next in thread: Jan Luehe: "Re: What does "reset" mean for IVs in Cipher.doFinal documentation?"