SymmetricEncryption constructor
init
Creates symmetric encryption algorithm with default passphrase
def __init__(self, algorithm_type, key):
...
| Parameter | Type | Description |
|---|---|---|
| algorithm_type | SymmetricAlgorithmType |
Specify symmetric algorithm type |
| key | str | Encryption key |
init
Creates symmetric encryption algorithm with parameters.
def __init__(self, algorithm_type, key, salt):
...
| Parameter | Type | Description |
|---|---|---|
| algorithm_type | SymmetricAlgorithmType |
Specify symmetric algorithm type |
| key | str | Encryption key |
| salt | str | Passphrase for encryption |
See Also
- module
groupdocs.signature.domain.extensions - class
SymmetricEncryption