Sorry @wyhaya but I need colons in README

This commit is contained in:
Matéo Duparc 2021-07-08 21:42:56 +02:00
parent b6ab4777ce
commit 9e176d898f
Signed by: hardcoresushi
GPG Key ID: 007F84120107191E

View File

@ -18,20 +18,17 @@ doby is provided "as is", without any warranty of any kind. I'm not a profession
# Usage # Usage
Encryption Encryption:
```bash ```bash
doby my-super-secret-source-code.rs encrypted.doby doby my-super-secret-source-code.rs encrypted.doby
``` ```
Decryption Decryption:
```bash ```bash
doby encrypted.doby decrypted.rs doby encrypted.doby decrypted.rs
``` ```
If you ommit file path or use `-`, doby operates from `stdin/stdout` If you ommit file path or use `-`, doby operates from `stdin/stdout`:
```bash ```bash
# Read from stdin and write to stdout # Read from stdin and write to stdout
cat my-super-secret-music.flac | doby > encrypted.doby cat my-super-secret-music.flac | doby > encrypted.doby
@ -43,20 +40,17 @@ doby encrypted.doby > decrypted.flac
cat my-super-secret-logs-file.log | doby - logs.doby cat my-super-secret-logs-file.log | doby - logs.doby
``` ```
Speicfy password from the command line Speicfy password from the command line:
```bash ```bash
doby -p "A super very ultra strong passphrase" my-super-secret-document.pdf document.doby doby -p "A super very ultra strong passphrase" my-super-secret-document.pdf document.doby
``` ```
Double encryption Double encryption:
```bash ```bash
doby -p "first password" my-super-secret-database.db | doby -f - double-encrypted.doby doby -p "first password" my-super-secret-database.db | doby -f - double-encrypted.doby
``` ```
Increase password brute-force resistance Increase password brute-force resistance:
```bash ```bash
echo "you-will-never-break-this" | doby --memory-cost 524288 --threads 16 --iterations 40 > my-super-secret-password.doby echo "you-will-never-break-this" | doby --memory-cost 524288 --threads 16 --iterations 40 > my-super-secret-password.doby
``` ```