CipherParameters
public class TweakableBlockCipherParameters extends java.lang.Object implements CipherParameters
Constructor | Description |
---|---|
TweakableBlockCipherParameters(KeyParameter key,
byte[] tweak) |
Modifier and Type | Method | 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.