Name

Class javax.crypto.spec.PBEParameterSpec

Description

This class encapsulates the salt and iteration count that are used in passphrase-based encryption. Instances of this class should be used to initialize a PBEWithMD5AndDES Cipher.

Class Definition

public class javax.crypto.spec.PBEParameterSpec
  extends java.lang.Object
  implements java.security.spec.AlgorithmParameterSpec {

  // Constructors
  public PBEParameterSpec(byte[], int);

  // Instance Methods
  public int getIterationCount();
  public byte[] getSalt();
}

See Also

AlgorithmParameterSpec, Cipher, PBEKeySpec

Get Java Cryptography now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.