SymmetricEncryptionAttribute class

SymmetricEncryptionAttribute class

Instructs instances serialization to encrypt / decrypt object serialization string.

The SymmetricEncryptionAttribute type exposes the following members:

Constructors

Constructor Description
init Creates symmetric algorithm with parameters.
init Creates symmetric algorithm with parameters and default passphrase.

Methods

Method Description
encode Encrypts string based on provided algorithm type, key and salt parameters
decode Decrypts passed string based on algorithm type, key and salt parameters

See Also