All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.provider.PBEWithSHA1And128BitRC4

java.lang.Object
   |
   +----javax.crypto.CipherSpi
           |
           +----au.net.aba.crypto.provider.PBE
                   |
                   +----au.net.aba.crypto.provider.PBEWithSHA1And128BitRC4

public class PBEWithSHA1And128BitRC4
extends PBE
This Cipher implements password based encryption (PBE) as specified in PKCS#12. This Cipher uses SHA to convert the password into a RC4 Key. RC4 is then used to encrypt or decrypt the data.


Variable Index

 o ident

Constructor Index

 o PBEWithSHA1And128BitRC4()

Method Index

 o initCipher(int, byte[], int, char[])
Initialises the cipher for encrypt or decryption using the provided algorithm parameters.

Variables

 o ident
 public static final String ident

Constructors

 o PBEWithSHA1And128BitRC4
 public PBEWithSHA1And128BitRC4()

Methods

 o initCipher
 protected void initCipher(int opmode,
                           byte salt[],
                           int iteration,
                           char password[])
Initialises the cipher for encrypt or decryption using the provided algorithm parameters.

Parameters:
opmode - Encrypt/Decrypt
salt - The salt to add to the password
iteration - The iteration count for key generation
password - The actual password to use in the key generation
Overrides:
initCipher in class PBE

All Packages  Class Hierarchy  This Package  Previous  Next  Index