# Re: Question about return values in the Cipher class.

Jan Luehe (Jan.Luehe@Eng)
Tue, 21 Oct 1997 19:27:48 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marcus Ingemansson: "Security issue"
- Previous message: David Hook: "Question about return values in the Cipher class."
- Maybe in reply to: David Hook: "Question about return values in the Cipher class."

    Date: Tue, 21 Oct 1997 19:27:48 -0700 (PDT)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: Question about return values in the Cipher class.

    To: java-security@web2.javasoft.com, dgh@aba.net.au

David:

> the various update methods that return byte arrays, in the case where
> the underlying engine represents a block cipher and the input data is
> too short to result in a new block, what do they return? I am
> currently assuming null, but a final word on this would be useful.

Your assumption is correct. The input data is buffered (and
null output returned), until it results in a new block.

We'll add this to the API spec.

Thanks,

Jan

BTW: Note that the JCE1.2 APIs have been updated.

Check out

http://java.sun.com/security/JCE1.2/earlyaccess/index.html
for the updated APIs.

- Next message: Marcus Ingemansson: "Security issue"
- Previous message: David Hook: "Question about return values in the Cipher class."
- Maybe in reply to: David Hook: "Question about return values in the Cipher class."