SymmetricEncryption class
SymmetricEncryption class
Implements standard symmetric algorithms for data encryption with single key and passphrase (salt).
The SymmetricEncryption type exposes the following members:
Constructors
Constructor |
Description |
init |
Creates symmetric encryption algorithm with parameters. |
init |
Creates symmetric encryption algorithm with default passphrase |
Properties
Property |
Description |
algorithm_type |
Gets or sets type of symmetric algorithm. |
key |
Gets or sets key of encryption algorithm. |
salt |
Gets or sets passphrase of encryption algorithm. |
Methods
Method |
Description |
encode |
Encrypts string based on provided algorithm type, key and salt parameters |
decode |
Decrypts string based on provided algorithm type, key and salt parameters |
See Also