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 1
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.
License
raadhshenshahhaseeb/ecdsa-encrypt-decrypt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
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
License
Stars
Watchers
Forks
Packages 0
No packages published