Created
March 3, 2022 19:14
-
-
Save awswithdotnet/a2394a5c40448ce2eba7918358e69d0b to your computer and use it in GitHub Desktop.
kms Crypto AESEncrypter Partial 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string encryptedString = Convert.ToBase64String(encryptedData); | |
IEncryptionPackage encryptionPackage = new EncryptionPackage{ | |
CipherText = encryptedString, | |
EncryptedKey = Convert.ToBase64String(encryptedDataKey) | |
}; | |
return encryptionPackage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment