SymmetricEncryptionAttribute

SymmetricEncryptionAttribute(SymmetricAlgorithmType, string, string)

Creates symmetric algorithm with parameters.

public SymmetricEncryptionAttribute(SymmetricAlgorithmType algorithmType, string key, string salt)
Parameter Type Description
algorithmType SymmetricAlgorithmType Specify symmetric algorithm type
key String Encryption key
salt String Passphrase for encryption

See Also


SymmetricEncryptionAttribute(SymmetricAlgorithmType, string)

Creates symmetric algorithm with parameters and default passphrase.

public SymmetricEncryptionAttribute(SymmetricAlgorithmType algorithmType, string key)
Parameter Type Description
key SymmetricAlgorithmType Encryption key
algorithmType String Encryption algorithm type

See Also