Class TweakableBlockCipherParameters
- Namespace
- Org.BouncyCastle.Crypto.Parameters
- Assembly
- BouncyCastle.Cryptography.dll
Parameters for tweakable block ciphers.
public class TweakableBlockCipherParameters : ICipherParameters
- Inheritance
-
TweakableBlockCipherParameters
- Implements
- Inherited Members
Constructors
TweakableBlockCipherParameters(KeyParameter, byte[])
public TweakableBlockCipherParameters(KeyParameter key, byte[] tweak)
Parameters
keyKeyParametertweakbyte[]
Properties
Key
Gets the key.
public KeyParameter Key { get; }
Property Value
- KeyParameter
the key to use, or
to use the current key.null
Tweak
Gets the tweak value.
public byte[] Tweak { get; }
Property Value
- byte[]
The tweak to use, or
to use the current tweak.null