# Blowfish in JCE

Elliotte Rusty Harold (elharo@shock.njit.edu)
Tue, 08 Sep 1998 19:25:26 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: Blowfish in JCE"
- Previous message: shariff@EDS-CLEF.demon.co.uk: "Sign and Unsigning data over http"
- Next in thread: Jan Luehe: "Re: Blowfish in JCE"

I can't seem to be able to produce a key for the Blowfish algorithm.
I've tried a variety of things incuding using DES keys. Typical errors
include:

D:\JAVA\ioexamples\10>java BlowfishEncryptor temp2.out password
java.security.InvalidKeyException: Wrong algorithm: Blowfish required
at com.sun.crypto.provider.BlowfishCrypt.init(Compiled Code)
at
com.sun.crypto.provider.ElectronicCodeBook.init(ElectronicCodeBook.ja
va:92)
at
com.sun.crypto.provider.BlowfishCipher.engineInit(BlowfishCipher.java
:442)
at javax.crypto.Cipher.init(Cipher.java:475)
at BlowfishEncryptor.main(Compiled Code)

D:\JAVA\ioexamples\10>java BlowfishEncryptor temp2.out password
java.security.NoSuchAlgorithmException: Algorithm Blowfish not available
at javax.crypto.JceSecurity.getImpl(Compiled Code)
at
javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:105)
at BlowfishEncryptor.main(Compiled Code)

Any hints would be appreciated.

    --
    Elliotte

- Next message: Jan Luehe: "Re: Blowfish in JCE"
- Previous message: shariff@EDS-CLEF.demon.co.uk: "Sign and Unsigning data over http"
- Next in thread: Jan Luehe: "Re: Blowfish in JCE"