Erster Commit des bestehenden monolithischen WinForms-Copytraders, inklusive der Alt-Backups (*.bak), damit diese dauerhaft in der Historie rekonstruierbar bleiben. Threema-Lib unter libs/ wurde vendored (nested .git entfernt). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
778 B
C#
24 lines
778 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using IcgSoftware.Threema.CoreMsgApi.Results;
|
|
|
|
namespace IcgSoftware.Threema.CoreMsgApi.Com
|
|
{
|
|
[ComVisible(true)]
|
|
[Guid("4F376DEB-6F78-460A-836F-B38371712EFF")]
|
|
public interface ICryptToolWrapper
|
|
{
|
|
ArrayList EncryptTextMessage(string text, string senderPrivateKey, string recipientPublicKey);
|
|
ArrayList DecryptMessage(string box, string recipientPrivateKey, string senderPublicKey, string nonce);
|
|
string HashEmail(string email);
|
|
string HashPhoneNo(string phoneNo);
|
|
void GenerateKeyPair(string privateKeyPath, string publicKeyPath);
|
|
string DerivePublicKey(string privateKey);
|
|
}
|
|
}
|