ICryptoProviderEncrypt Method |
Namespace: InnerDrive.AzureAssembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.0.8475.0
Syntax Task<byte[]> Encrypt(
string keyName,
byte[] data,
EncryptionAlgorithm algorithm = default
)
Parameters
- keyName String
- The unique identifier for the key
- data Byte
- The plaintext to encrypt
- algorithm EncryptionAlgorithm (Optional)
- The EncryptionAlgorithm to use
Return Value
TaskByteThe ciphertext
See Also