MACTripleDES Constructor (Byte())


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the MACTripleDES class with the specified key data.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

Public Sub New (
	rgbKey As Byte()


Type: System.Byte()

The secret key for MACTripleDES encryption.

Exception Condition

The rgbKey parameter is null.

This constructor uses the default implementation of TripleDES. The rgbKey parameter must be 16 or 24 bytes in length.

For an example of how to use this constructor, see the MACTripleDES class.

.NET Framework
Available since 1.1
Return to top