Initializes a new instance of the BlockCrypt class

Namespace: BasicCard.Crypto.Messaging
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public BlockCrypt(
	BaseAlgorithm algo,
	byte[] key
)
Visual Basic
Public Sub New ( 
	algo As BaseAlgorithm,
	key As Byte()
)
Visual C++
public:
BlockCrypt(
	BaseAlgorithm algo, 
	array<unsigned char>^ key
)
F#
new : 
        algo : BaseAlgorithm * 
        key : byte[] -> BlockCrypt

Parameters

algo
Type: BasicCard.Crypto.Messaging..::..BaseAlgorithm
Cryptographic algorithm to use.
key
Type: array<System..::..Byte>[]()[][]
Secret key.

See Also