Crates.io | lorenz |
lib.rs | lorenz |
version | 0.1.1 |
source | src |
created_at | 2019-06-06 15:18:28.37567 |
updated_at | 2019-06-06 22:26:45.139562 |
description | File encryption for multiple participants |
homepage | |
repository | https://github.com/elichai/lorenz |
max_upload_size | |
id | 139438 |
size | 39,600 |
A Rust binary for file encryption to multiple participants.
TBD
TBD
TBD
TBD
TBD
TBD
With Rust's package manager cargo, you can install Lorenz via:
cargo install --force lorenz
The release page includes precompiled binaries for Linux, macOS and Windows.
Generating keys:
lorenz generate-keys <amount>
Encrypt a file:
lorenz encrypt <public-keys> <file>
Either of the associated private keys will be able to decrypt the file.
Decrypt:
lorenz decrypt <private-key> <file>
$ lorenz generate-keys 3
key 1:
privateKey: 0x40a8196f56f902d965fdf4eaadce44b651206bec8eed868d3c8b65df2f9df540
publicKey: 0x6fa09e7d6874dcb2410390636477d87cdc8a5bbf2f9d858337f8ff73e509d340
key 2:
privateKey: 0x5814cdd862fd5704d3235dca766019372c3bf8d213a87ed867506af146dccd7e
publicKey: 0x6a27b32d6144888657b40328d3d6472127ea9835d7fd7a2c8327b0d72174737c
key 3:
privateKey: 0x10d83487bdf1387fea1511005bb39a90d33a43f3d4bdcaa41261714abb5bcb52
publicKey: 0xc9f24018fc12249b65e5d0d1058c91f17b14979373621e25600ac1ae32b45738
$ lorenz encrypt 0x6fa09e7d6874dcb2410390636477d87cdc8a5bbf2f9d858337f8ff73e509d340 0x6a27b32d6144888657b40328d3d6472127ea9835d7fd7a2c8327b0d72174737c 0xc9f24018fc12249b65e5d0d1058c91f17b14979373621e25600ac1ae32b45738 test.txt
$ lorenz decrypt 0x10d83487bdf1387fea1511005bb39a90d33a43f3d4bdcaa41261714abb5bcb52 test.txt.lorenz