// Veri sifreleme
        public byte[][] EncryptFile(byte[] buffer, RSAParameters recipientsRSAPublicKeyInfo)
        {
            byte[] encryptedFile;

            byte[] password = RandomPassphrase(8);
            encryptedFile = AES256.AES_Encrypt(buffer, password);
            byte[]   encryptedPassword = RSA.RSAEncrypt(password, recipientsRSAPublicKeyInfo, false);
            byte[][] data = new byte[][] { encryptedFile, encryptedPassword };

            return(data);
        }
 public void Encrypt(byte[] passphrase)
 {
     D        = AES256.AES_Encrypt(D, passphrase);
     DP       = AES256.AES_Encrypt(DP, passphrase);
     DQ       = AES256.AES_Encrypt(DQ, passphrase);
     Exponent = AES256.AES_Encrypt(Exponent, passphrase);
     InverseQ = AES256.AES_Encrypt(InverseQ, passphrase);
     Modulus  = AES256.AES_Encrypt(Modulus, passphrase);
     P        = AES256.AES_Encrypt(P, passphrase);
     Q        = AES256.AES_Encrypt(Q, passphrase);
 }