what-the-bank/sources/org/bouncycastle/crypto/params/TweakableBlockCipherParamet...

24 lines
601 B
Java

package org.bouncycastle.crypto.params;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.util.Arrays;
/* loaded from: classes6.dex */
public class TweakableBlockCipherParameters implements CipherParameters {
private final KeyParameter key;
private final byte[] tweak;
public byte[] getTweak() {
return this.tweak;
}
public KeyParameter getKey() {
return this.key;
}
public TweakableBlockCipherParameters(KeyParameter keyParameter, byte[] bArr) {
this.key = keyParameter;
this.tweak = Arrays.clone(bArr);
}
}