# Re: JCE: algorithm parameters and key size

Marianne Mueller (mrm@Eng)
Wed, 7 May 1997 09:34:00 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marianne Mueller: "Re: Security of Java"
- Previous message: Steve Burnett: "RSA and DSA key get methods returning BigInteger"
- Maybe in reply to: Steve Burnett: "JCE: algorithm parameters and key size"
- Next in thread: Benjamin Renaud: "Re: JCE: algorithm parameters and key size"

    Date: Wed, 7 May 1997 09:34:00 -0700

    Message-Id: <199705071634.JAA19193@puffin.eng.sun.com>

    From: Marianne Mueller <mrm@Eng>

    To: burnettS@RSA.COM

    Subject: Re: JCE: algorithm parameters and key size

The APIs need to evolve to be more flexible to support other
algorithms.

They are arguably too DES-centric in this early release.

Marianne

> From: Steve Burnett <burnettS@RSA.COM>
> Date: Tue, 6 May 1997 08:21:15 -0700
>
>
> In the JCE, if I want to create a DES object, I call
> Cipher.getInstance ("DES"). But suppose I want to create an object that
> executes an encryption algorithm that requires one or more parameters.
> For instance, RC2 needs to know the effective key bit value. How do I
> set an object's parameters?
>
> Along the same lines, if I want to generate a DES key, I can use
> KeyGenerator.getInstance ("DES") and the generate method. But if I'm
> generating an RC2 key, how do I specify its length?
>
> --Steve Burnett
> burnetts@rsa.com
>

- Next message: Marianne Mueller: "Re: Security of Java"
- Previous message: Steve Burnett: "RSA and DSA key get methods returning BigInteger"
- Maybe in reply to: Steve Burnett: "JCE: algorithm parameters and key size"
- Next in thread: Benjamin Renaud: "Re: JCE: algorithm parameters and key size"