Esempio n. 1
0
        /// <summary>
        /// Decrypts data using the default private key
        /// </summary>
        public Data Decrypt(Data encryptedData)
        {
            PrivateKey PrivateKey = new PrivateKey();

            PrivateKey.LoadFromConfig();
            return(Decrypt(encryptedData, PrivateKey));
        }
Esempio n. 2
0
 /// <summary>
 /// Decrypts data using the default private key
 /// </summary>
 public Data Decrypt(Data encryptedData)
 {
     PrivateKey PrivateKey = new PrivateKey();
     PrivateKey.LoadFromConfig();
     return Decrypt(encryptedData, PrivateKey);
 }