command
Version:
v1.5.21
Opens a new window with list of versions in this module.
Published: Nov 17, 2023
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Encryptor
Encrypt messages by asymmetric keys
usage:
./main [e|d] [pubkey-file|privkey-file]
stdin:
[data-value]EOF
EOF - End of File (Ctrl+D)
Example
Generate keys
make genkey # default key size = 4096 bits
# OR
make genkey N=1024 # with custom set key size
Encrypt/Decrypt
$ echo "hello, world" | ./main e pub.key > encrypted.msg
$ cat encrypted.msg | ./main d priv.key
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.