SymmetricEncryptionAttribute class

SymmetricEncryptionAttribute class

Instructs instance serialization to encrypt or decrypt the object serialization string.

The SymmetricEncryptionAttribute type exposes the following members:

Constructors

Constructor Description
init Initializes a symmetric algorithm with the specified parameters.
init Initializes a symmetric algorithm with parameters and a default passphrase.

Methods

Method Description
decode Decrypts the passed string based on algorithm type, key, and salt parameters.
decode_file
decode_string
encode Encrypts string based on provided algorithm type, key and salt parameters.
encode_file
encode_string

See Also