Package org.bouncycastle.crypto.params
Class TweakableBlockCipherParameters
java.lang.Object
org.bouncycastle.crypto.params.TweakableBlockCipherParameters
- All Implemented Interfaces:
CipherParameters
Parameters for tweakable block ciphers.
-
Constructor Details
-
TweakableBlockCipherParameters
-
-
Method Details
-
getKey
Gets the key.- Returns:
- the key to use, or
null
to use the current key.
-
getTweak
public byte[] getTweak()Gets the tweak value.- Returns:
- the tweak to use, or
null
to use the current tweak.
-