public class TweakableBlockCipherParameters extends java.lang.Object implements CipherParameters
Constructor and Description |
---|
TweakableBlockCipherParameters(KeyParameter key,
byte[] tweak) |
Modifier and Type | Method and Description |
---|---|
KeyParameter |
getKey()
Gets the key.
|
byte[] |
getTweak()
Gets the tweak value.
|
public TweakableBlockCipherParameters(KeyParameter key, byte[] tweak)
public KeyParameter getKey()
null
to use the current key.public byte[] getTweak()
null
to use the current tweak.