Protected Notebook is a GoLang study-project to exchange protected file content using the IDEA-CFB algorithm and RSA algorithm.
- Generates RSA KeyPair and sends the public key to the server-side. Stores private key inside rsa variable.
- Picks up a file name and send a request to the server.
- Decrypts IDEA key with RSA private key.
- Decrypts file content with IDEA key.
- Stores RSA public key inside rsa variable.
- Sends a list of all available files.
- Finds the file and encrypts file content using randomly generated IDEA key.
- Encrypt IDEA key with RSA public key.
cd server1
go run main.go
cd client
go run main.go
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.