Exemple #1
0
        // encrypt data, required for seeding
        public async Task <string> EncryptValue(string plainText)
        {
            var ciphertext = await client.TransitEncryptAsync(transitKeyName, base64(plainText));

            return(ciphertext.Data.CipherText);
        }