Deleted unused files

sq
This commit is contained in:
qowevisa 2024-10-09 10:53:49 +03:00
parent c244a18abd
commit 78b117e36e
4 changed files with 0 additions and 80 deletions

View File

@ -1 +0,0 @@
use fyne for GUI

View File

@ -1,66 +0,0 @@
package tlep
import (
"fmt"
)
func main() {
tlep1, err := InitTLEP("user2")
if err != nil {
panic(err)
}
err = tlep1.CBESInitRandom()
if err != nil {
panic(err)
}
keyA, err := tlep1.ECDHGetPublicKey()
if err != nil {
panic(err)
}
tlep2, err := InitTLEP("user1")
if err != nil {
panic(err)
}
keyB, err := tlep2.ECDHGetPublicKey()
if err != nil {
panic(err)
}
// Acception
err = tlep1.ECDHApplyOtherKeyBytes(keyB)
if err != nil {
panic(err)
}
err = tlep2.ECDHApplyOtherKeyBytes(keyA)
if err != nil {
panic(err)
}
// First EA encryption
fmt.Printf("TLEP1 CBES specs: %#v\n", tlep1.CBES)
cbesSpecs, err := tlep1.CBESGetBytes()
if err != nil {
panic(err)
}
encryptedCBESSpecs, err := tlep1.EncryptMessageEA(cbesSpecs)
if err != nil {
panic(err)
}
realSpecs, err := tlep2.DecryptMessageEA(encryptedCBESSpecs)
if err != nil {
panic(err)
}
tlep2.CBESSetFromBytes(realSpecs)
fmt.Printf("TLEP2 CBES specs: %#v\n", tlep2.CBES)
// Second layer CAFEA encryption
someMsg := "lol real msg i don't wanna joke xdd"
fmt.Printf("Sending %s to TLEP2\n", someMsg)
encryptedMsg, err := tlep1.EncryptMessageCAFEA([]byte(someMsg))
if err != nil {
panic(err)
}
fmt.Printf("Encrypted Message = %v\n", encryptedMsg)
decryptedMsg, err := tlep2.DecryptMessageCAFEA(encryptedMsg)
if err != nil {
panic(err)
}
fmt.Printf("Getting %s on TLEP2 from TLEP1\n", decryptedMsg)
}

View File

@ -1,6 +0,0 @@
Three Lock Encryption Protocol
This is a protocol of most inefficient encryption algorithm for most secure message tranfser.
It is paranoidal and maybe diabolical.
Monkey Chaos Ecdh
MECHA

View File

@ -1,7 +0,0 @@
create a way to convert WORD into float
integrate mklg with some parts
create communication scheme using ECHD + AES + digital signatures + shuffle + mklg changes + CBES
CBES = Chaos-Based-Encryption-Scheme