Skip to content

9m113konkors/e2ev2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

e2ev2

An end to end encryption tool in a single html file. (e2ev2 stands for End 2 End v2. v1 was vibecoded and I am ashamed to admit so.)

How to use

Exchange your public key with whoever you are chatting with. After that type your message and press encrypt to encrypt and decrypt to... decrypt.

Optionally: Click Here to Go to Website

Note

This has NO backend whatsoever so you will have to use an already existing backend like google chat. This project was originally intended to be used to securely send messages on google chat.

PS

This is NOT completely safe. One problem with the web is that any browser extension can spy on you.

How it Works

(For the 1 person who actually cares) This uses the elliptical curve diffie hellman algorithm to exchange a key which is then used for AES-GCM symmetric encryption.

TODO

I should: add double ratchet algorithm (changes the shared secret every time), add message history

Credits

Me, somebody on TN named gkgoat for support (THANK YOU SO MUCH). Also whoever made the crypto api and these functions: arrayBufferToBase64 base64ToArrayBuffer

GUARANTEED NO VIBECODING OR AI.

(Clearly its not vibecoded, look at commits)

About

(WIP) End to End Encryption using ECDH and AES in a single html file. Testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 100.0%