/// <summary>
        /// Gets the encrypted query string.
        /// </summary>
        /// <param name="imageUri">The image URI.</param>
        /// <returns></returns>
        public static string EncryptUri(this Uri imageUri)
        {
            Arg.IsNotNull(() => imageUri);

            var encryptor = new DPAPIEncryptor();
            return encryptor.Encrypt(imageUri.ToString());
        }
        public void EncryptReturnsNotSameString()
        {
            // arrange
            var encryptor = new DPAPIEncryptor();
            var stringToEncrypt = "stringToEncrypt";

            // act
            var encryptedString = encryptor.Encrypt(stringToEncrypt);

            // assert
            Assert.AreNotEqual(stringToEncrypt, encryptedString);
        }