SymmetricEncryptionAttribute constructor
init
Creates symmetric algorithm with parameters and default passphrase.
def __init__(self, algorithm_type, key):
...
| Parameter | Type | Description |
|---|---|---|
| algorithm_type | groupdocs.signature.domain.extensions.SymmetricAlgorithmType | Encryption algorithm type |
| key | System.String | Encryption key |
init
Creates symmetric algorithm with parameters.
def __init__(self, algorithm_type, key, salt):
...
| Parameter | Type | Description |
|---|---|---|
| algorithm_type | groupdocs.signature.domain.extensions.SymmetricAlgorithmType | Specify symmetric algorithm type |
| key | System.String | Encryption key |
| salt | System.String | Passphrase for encryption |