Table of Contents

Class EncrypterFactory

Namespace
VAST.Crypto
Assembly
VAST.Common.dll

Factory class for creating encrypter instances based on encryption type.

public static class EncrypterFactory
Inheritance
EncrypterFactory
Inherited Members

Methods

Create(EncryptionType, byte[])

Creates an encrypter instance for the specified encryption type.

public static IEncrypter Create(EncryptionType encryptionType, byte[] key)

Parameters

encryptionType EncryptionType

The type of encryption to use.

key byte[]

The encryption key.

Returns

IEncrypter

An encrypter instance.