java.lang.Object
javax.crypto.CipherSpi
cryptix.jce.provider.pbe.PBEBase
cryptix.jce.provider.pbe.PBEWithMD2AndDES
- public final class PBEWithMD2AndDES
- extends PBEBase
Method Summary |
protected void |
coreInit(int opmode,
byte[] password,
byte[] salt,
int iteration)
This method is only implemented by subclasses of PBEBase. |
Methods inherited from class cryptix.jce.provider.pbe.PBEBase |
clone, coreKeyGen, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUpdate, engineUpdate |
algorithm
private static final java.lang.String algorithm
- Name of the used symmetric algorithm.
- See Also:
- Constant Field Values
messageDigest
private static final java.lang.String messageDigest
- Name of the used message digest function.
- See Also:
- Constant Field Values
PBEWithMD2AndDES
public PBEWithMD2AndDES()
- This is the constructor. It creates a cipher object using
provider Cryptix, cipher DES in CBC mode and PKCS#5
padding.
coreInit
protected void coreInit(int opmode,
byte[] password,
byte[] salt,
int iteration)
throws java.security.InvalidKeyException
- Description copied from class:
PBEBase
- This method is only implemented by subclasses of PBEBase.
All params which are needed for PBE are passed to it
- Specified by:
coreInit
in class PBEBase