예제 #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));
        }
예제 #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);
 }