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

24 lines
601 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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);
}
}