The default encryptor implementation.
Namespace: Simol.SecurityAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public class AesEncryptor : IEncryptor |
Visual Basic |
---|
Public Class AesEncryptor _ Implements IEncryptor |
Visual C++ |
---|
public ref class AesEncryptor : IEncryptor |
Remarks
This class encrypts data using the AES algorithm with a default key size (128 bits) and block size. You must use the GenerateKey()()()()
and GenerateIV()()()() static methods to generate base64 encoded values for use at application run-time.
All public members of this class are thread-safe.