Curve25519

This commit is contained in:
ycc
2022-03-01 10:37:11 +01:00
parent c07cdff3de
commit dee68043d1
10 changed files with 140 additions and 45 deletions

View File

@ -31,7 +31,7 @@ func TestEndToEnd(t *testing.T) {
a, _ := json.Marshal(invitation)
fmt.Println(string(a))
// TODO : Convert invitation to QR Code
invitation.WritePng("invitation.png")
//
// Simulate peer invitation response : generate the friend's keypair
fmt.Println("Simulating first friend answer...")
@ -64,6 +64,8 @@ func TestEndToEnd(t *testing.T) {
ioutil.WriteFile("id.json", a, 0644)
fmt.Println(string(a))
}
// go me.CheckMessages()
//myFirstFriend.SetComMethod()
//msg := myFirstFriend.SendText()