init
This commit is contained in:
19
aes-encrypt-decrypt/how-to-use.md
Normal file
19
aes-encrypt-decrypt/how-to-use.md
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
## generate key via genkey
|
||||
```sh
|
||||
./genkey.sh miko089
|
||||
```
|
||||
you can change `miko089` to any nickname as you want
|
||||
|
||||
## encrypt
|
||||
take public key of another people and
|
||||
```sh
|
||||
./encrypt.sh <key_path> <msg_path>
|
||||
```
|
||||
|
||||
## decrypt
|
||||
take your private key and
|
||||
```sh
|
||||
./decrypt.sh <key_path> <msg_encoded>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user