Onetime-cli v0.3.0
·
8 commits
to main
since this release
Changes
Added
- Exit with code 1 on error
- Custom error representation (onetime_cli::Error)
- Parameters
--out1-suffix
and--out2-suffix
of subcommandencrypt
- Parameters
--in1-suffix
and--in2-suffix
of subcommanddecrypt
Changed
- Improved error messages
[BREAKING] changes
- Moved previous functionality of onetime_cli::encrypt to onetime_cli::encrypt_file
- Moved previous functionality of onetime_cli::decrypt to onetime_cli::decrypt_file
- onetime_cli::encrypt now encrypts data from an array using the one-time pad
- onetime_cli::decrypt now decrypts data into an array using the one-time pad
- Return type of the functions onetime_cli::{encrypt_file, decrypt_file} changed to Result<(), onetime_cli::Error>
Removed
- Parameters
-1
/--out1
and-2
/--out2
of subcommandencrypt
- Parameters
-1
/--in1
and-2
/--in2
of subcommanddecrypt
-r
as alias for--rm
.--rm
is not removed, only-r
.