Class EncrypterFactory
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
encryptionTypeEncryptionTypeThe type of encryption to use.
keybyte[]The encryption key.
Returns
- IEncrypter
An encrypter instance.