This code demonstrates how 2 different users can generate a shared key to encrypt and decrypt the message between each other. In this code, we simply generate a private/public key pair based on ECSDA. Using the private key of sender and public key of receiver, we can generate a shared key. This shared key can be used to encrypt and decrypt a message between both parties. The encryption and decryption mechanism is managed using AES package.
-
Notifications
You must be signed in to change notification settings - Fork 0
raadhshenshahhaseeb/ecdsa-encrypt-decrypt-rust
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
[Rust] This repo contains an example implementation of encryption and decryption of a message using a shared key generated by ecdsa key pair between 2 different users.
Resources
Stars
Watchers
Forks
Releases
No releases published