Table of Contents

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

key KeyParameter
tweak byte[]

Properties

Key

Gets the key.

public KeyParameter Key { get; }

Property Value

KeyParameter

the key to use, or

null
to use the current key.

Tweak

Gets the tweak value.

public byte[] Tweak { get; }

Property Value

byte[]

The tweak to use, or

null
to use the current tweak.