SymmetricEncryption Class
Implements standard symmetric algorithms for data encryption with single key and passphrase (salt).
Inheritance Hierarchy
SystemObject
  GroupDocs.Signature.Domain.ExtensionsSymmetricEncryption

Namespace: GroupDocs.Signature.Domain.Extensions
Assembly: GroupDocs.Signature (in GroupDocs.Signature.dll) Version: 19.8.0.0 (19.8)
Syntax
public sealed class SymmetricEncryption : IDataEncryption

The SymmetricEncryption type exposes the following members.

Constructors
  NameDescription
Public methodSymmetricEncryption(SymmetricAlgorithmType, String)
Creates symmetric encryption algorithm with default passphrase
Public methodSymmetricEncryption(SymmetricAlgorithmType, String, String)
Creates symmetric encryption algorithm with parameters.
Properties
  NameDescription
Public propertyAlgorithmType
Gets or sets type of symmetric algorithm.
Public propertyKey
Gets or sets key of encryption algorithm.
Public propertySalt
Gets or sets passphrase of encryption algorithm.
Methods
  NameDescription
Public methodDecode
Decrypts string based on provided algorithm type, key and salt parameters
Public methodEncode
Encrypts string based on provided algorithm type, key and salt parameters
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also