Example #1
0
        public void GenAndSendKey()
        {
            String public_key  = TeraCrypt.GenPublicKey();   //CryptManager.GenPublicKey();
            String decrypt_key = TeraCrypt.DecryptKeyOfPublicKey(public_key);

            Decryptor = new NeoString(decrypt_key);
            write("JK" + public_key);
            //flush();
        }
Example #2
0
 public void close()
 {
     this.Decryptor = null;
 }