SymmetricEncryption constructor

init

Creates symmetric encryption algorithm with default passphrase

def __init__(self, algorithm_type, key):
    ...
Parameter Type Description
algorithm_type groupdocs.signature.domain.extensions.SymmetricAlgorithmType Specify symmetric algorithm type
key System.String Encryption key

init

Creates symmetric encryption 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

See Also