コード例 #1
0
        private static byte[] DecryptPackagePayload(Package package)
        {
            AESEncryptor decrypt = new AESEncryptor();

            return(decrypt.DecryptData(package.Payload, package.EncryptedKey, package.EncryptedIV));
        }
コード例 #2
0
        private byte[] DecrypData(byte[] encryptedData, byte[] key, byte[] IV)
        {
            AESEncryptor decryptor = new AESEncryptor();

            return(decryptor.DecryptData(encryptedData, key, IV));
        }