Class CryptoStreamPBEImpl

  • All Implemented Interfaces:
    CryptoStreamFactory, CryptoStreamFactoryJ8

    public final class CryptoStreamPBEImpl
    extends CryptoStreamFactoryJ8Template
    Concrete implementation for creating encrypting/decrypting streams. The implementation uses the JCA (Java Crypto Extension) supplied by SUN (using SunJCE 1.42). The implementation uses as @see CryptoParametersJ8 ALGORITHM_J8_PBE for encryption which should be sufficient for most applications. The implementation also supplies a default password in the case that the programmer don't want to have additional hassles. It is easy to re-engineer the password being used but much better than a hard-coded password in the application. The code uses parts from Markus Hahn's Blowfish library found at http://blowfishj.sourceforge.net/
    Author:
    Georg Kallidis, Siegfried Goeschl , Markus Hahn The Implementation for CryptoParametersJ8.TYPES PBE.