ParametersWithSaltpublic class ParametersWithSalt extends Object implements org.bouncycastle.crypto.CipherParametersCipher parameters with a fixed salt value associated with them. |
Fields Summary |
---|
private byte[] | salt | private org.bouncycastle.crypto.CipherParameters | parameters |
Constructors Summary |
---|
public ParametersWithSalt(org.bouncycastle.crypto.CipherParameters parameters, byte[] salt)
this(parameters, salt, 0, salt.length);
| public ParametersWithSalt(org.bouncycastle.crypto.CipherParameters parameters, byte[] salt, int saltOff, int saltLen)
this.salt = new byte[saltLen];
this.parameters = parameters;
System.arraycopy(salt, saltOff, this.salt, 0, saltLen);
|
|