Metadata-Version: 2.4
Name: cpass-cli
Version: 1.0.0
Summary: Encode/Decode your passwords with Morse code.
Author-email: Gentlhug <gentlhug@proton.me>
License: GPL-3.0-or-later
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: MorseCodePy==4.2.1
Requires-Dist: prettytable==3.18.0
Dynamic: license-file

# cPass

Encode/Decode your passwords with Morse code.

[![License](https://img.shields.io/badge/license-GPL--3.0-green?style=for-the-badge)](LICENSE)
![cPass Version](https://img.shields.io/badge/cPass-v1.0.0-blue?style=for-the-badge)

**Summary**

- [🏃‍♂️‍➡️ TL;DR](#️️-tldr)
    - [Encode your passphrase/password](#encode-your-passphrasepassword)
    - [Decode your passphrase/password](#decode-your-passphrasepassword)
    - [Encode your `.txt` file](#encode-your-txt-file)
    - [Decode your `.txt` file](#decode-your-txt-file)
    - [Encode your secret words (crypto users)](#encode-your-secret-words-crypto-users)
    - [Decode your secret words (crypto users)](#decode-your-secret-words-crypto-users)
- [💻 Installation](#-installation)
    - [Install with `pip`](#install-with-pip)
- [📖 Documentation](#-documentation)
    - [[required] `input` argument](#required-input-argument)
    - [[optional] `-L/--language` option](#optional--l--language-option)
    - [[optional] `-d/--dot` option](#optional--d--dot-option)
    - [[optional] `-D/--dash` option](#optional--d--dash-option)
    - [[optional] `-s/--separator` option](#optional--s--separator-option)
    - [[optional] `-o/--output` option](#optional--o--output-option)
    - [[optional] `--markup` option](#optional---markup-option)
    - [[optional] `-u/--upper-case` option](#optional--u--upper-case-option)
    - [[optional] `-t/--title-case` option](#optional--t--title-case-option)
    - [[optional] `-f/--fingerprint` option](#optional--f--fingerprint-option)
    - [[optional] `--hidden` option](#optional---hidden-option)
- [📝 Usage](#-usage)
    - [I want to encode my passphrase: `craftwork thus robust dares lullaby`](#i-want-to-encode-my-passphrase-craftwork-thus-robust-dares-lullaby)
    - [I want to encode my passphrase and store the value in a `.txt` file](#i-want-to-encode-my-passphrase-and-store-the-value-in-a-txt-file)
    - [I want to encode my passphrase with `i` as `-`, `h` as `.` and `|` as `/`](#i-want-to-encode-my-passphrase-with-i-as---h-as--and--as-)
    - [I want to encode my passphrase in *chaotic case*: `crAftwoRk Thus r0Bust dAr3s Lull4by`](#i-want-to-encode-my-passphrase-in-chaotic-case-craftwork-thus-r0bust-dar3s-lull4by)
    - [I want to encode my `.txt` file](#i-want-to-encode-my-txt-file)
    - [I want to encode my password: `Th1sIs4Str0ng-p@ssw0rd!`](#i-want-to-encode-my-password-th1sis4str0ng-pssw0rd)
    - [💀 WTF is this sh*t?](#-wtf-is-this-sht)
    - [I want to decode my encoded passphrase in lowercase: `craftwork thus robust dares lullaby`](#i-want-to-decode-my-encoded-passphrase-in-lowercase-craftwork-thus-robust-dares-lullaby)
    - [I want to decode my encoded passphrase in uppercase: `CRAFTWORK THUS ROBUST DARES LULLABY`](#i-want-to-decode-my-encoded-passphrase-in-uppercase-craftwork-thus-robust-dares-lullaby)
    - [I want to decode my encoded passphrase in titlecase: `Craftwork Thus Robust Dares Lullaby`](#i-want-to-decode-my-encoded-passphrase-in-titlecase-craftwork-thus-robust-dares-lullaby)
    - [I want to decode my encoded passphrase and store the value in a `.txt` file](#i-want-to-decode-my-encoded-passphrase-and-store-the-value-in-a-txt-file)
    - [I want to decode my encoded passphrase in *chaotic case*: `crAftwoRk Thus r0Bust dAr3s Lull4by`](#i-want-to-decode-my-encoded-passphrase-in-chaotic-case-craftwork-thus-r0bust-dar3s-lull4by)
    - [I want to decode my encoded password: `Th1sIs4Str0ng-p@ssw0rd!`](#i-want-to-decode-my-encoded-password-th1sis4str0ng-pssw0rd)
    - [I want to decode my `.txt` file](#i-want-to-decode-my-txt-file)
    - [💀 Holy sh*t!](#-holy-sht)
    - [I want to encode my secret words for my crypto wallet](#i-want-to-encode-my-secret-words-for-my-crypto-wallet)
    - [I want to encode my secret words and store the value in a `.txt` file](#i-want-to-encode-my-secret-words-and-store-the-value-in-a-txt-file)
    - [I want to decode my encoded secret words](#i-want-to-decode-my-encoded-secret-words)
    - [I want to decode my encoded secret words and store the value in a `.txt` file](#i-want-to-decode-my-encoded-secret-words-and-store-the-value-in-a-txt-file)
- [🙏 Support me](#-support-me)
- [🫶 Credits](CREDITS.md)

## 🏃‍♂️‍➡️ TL;DR

### Encode your passphrase/password

```bash
cpass encode "craftwork thus robust dares lullaby"
cpass encode "myp4ssw0rd!"
```

### Decode your passphrase/password

```bash
cpass decode "-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. --- -... ..- ... - / -.. .- .-. . ... / .-.. ..- .-.. .-.. .- -... -.--"
cpass decode "-- -.-- .--. ....- ... ... .-- ----- .-. -.. -.-.--"
```

### Encode your `.txt` file

```bash
cpass encode "/path/to/your/file.txt"
```

### Decode your `.txt` file

```bash
cpass decode "/path/to/your/file.txt"
```

### Encode your secret words (crypto users)

```bash
cpass encrypto "/path/to/your/secret-words.txt"
```

### Decode your secret words (crypto users)

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt"
```

## 💻 Installation

### Install with `pip`

#### Requirements

![Python Version](https://img.shields.io/badge/python->=_3.11-blue?style=for-the-badge&logo=python)

```bash
pip install c-pass
```

## 📖 Documentation

```bash
cpass encode --help
cpass decode --help
cpass encrypto --help
cpass decrypto --help
```

### [required] `input` argument

Your passphrase/password or your file path to encode/decode.

```bash
cpass encode "my beautiful passphrase"
cpass encode "/path/to/your/file.txt"
```

```bash
cpass decode ". -. -.-. --- -.. .. -. --."
cpass decode "/path/to/your/file.txt"
```

```bash
cpass encrypto "/path/to/your/secret-words.txt"
```

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt"
```

### [optional] `-L/--language` option

Language of your password/passphrase. It's `english` by default.

```bash
cpass encode "encoding" --language english
cpass encode "préparer" -L french
cpass encode "además" -L spanish
cpass encode "здравствуйте" -L russian
cpass encode "вчіться" -L ukrainian
cpass encode "123456789" -L numbers
cpass encode ".;?!@-+=/" -L special
```

```bash
cpass decode ". -. -.-. --- -.. .. -. --." --language english
cpass decode ".--. .-. ..-.. .--. .- .-. . .-." -L french
cpass decode ".- -.. . -- .--.- ..." -L spanish
cpass decode "--.. -.. .-. .- .-- ... - .-- ..- .--- - ." -L russian
cpass decode ".-- ---. .. - -..- ... .-.-" -L ukrainian
cpass decode ".---- ..--- ...-- ....- ..... -.... --... ---.. ----." -L numbers
cpass decode ".-.-.- -.-.-. ..--.. -.-.-- .--.-. -....- .-.-. -...- -..-." -L special
```

```bash
cpass encrypto "/path/to/your/secret-words.txt" --language english
cpass encrypto "/path/to/your/secret-words.txt" -L french
cpass encrypto "/path/to/your/secret-words.txt" -L spanish
cpass encrypto "/path/to/your/secret-words.txt" -L russian
cpass encrypto "/path/to/your/secret-words.txt" -L ukrainian
```

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt" --language english
cpass decrypto "/path/to/your/encoded-secret-words.txt" -L french
cpass decrypto "/path/to/your/encoded-secret-words.txt" -L spanish
cpass decrypto "/path/to/your/encoded-secret-words.txt" -L russian
cpass decrypto "/path/to/your/encoded-secret-words.txt" -L ukrainian
```

⚠️ *Some special characters aren't supported. Here is the list:*

```python
["#", "[", "]", "{", "}", "<", ">", "|", "*", "µ", "£", "^", "~", "°", "`", "§", "%"]
```

### [optional] `-d/--dot` option

Character representing the dot. It's `.` by default.

```bash
cpass encode "encoding" -d "p"
cpass encode "encoding" --dot "p"
```

```bash
cpass decode "p -p -p-p --- -pp pp -p --p" -d "p"
cpass decode "p -p -p-p --- -pp pp -p --p" --dot "p"
```

```bash
cpass encrypto "/path/to/your/secret-words.txt" -d "p"
cpass encrypto "/path/to/your/secret-words.txt" --dot "p"
```

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt" -d "p"
cpass decrypto "/path/to/your/encoded-secret-words.txt" --dot "p"
```

### [optional] `-D/--dash` option

Character representing the dash. It's `-` by default.

```bash
cpass encode "encoding" -D "t"
cpass encode "encoding" --dash "t"
```

```bash
cpass decode ". t. t.t. ttt t.. .. t. tt." -D "t"
cpass decode ". t. t.t. ttt t.. .. t. tt." --dash "t"
```

```bash
cpass encrypto "/path/to/your/secret-words.txt" -D "t"
cpass encrypto "/path/to/your/secret-words.txt" --dash "t"
```

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt" -D "t"
cpass decrypto "/path/to/your/encoded-secret-words.txt" --dash "t"
```

### [optional] `-s/--separator` option

Character representing the words spacing. It's `/` by default.

```bash
cpass encode "abcde fghijk lmnopq" -s "|"
cpass encode "abcde fghijk lmnopq" --separator "|"
```

```bash
cpass decode ".- -... -.-. -.. . | ..-. --. .... .. .--- -.- | .-.. -- -. --- .--. --.-" -s "|"
cpass decode ".- -... -.-. -.. . | ..-. --. .... .. .--- -.- | .-.. -- -. --- .--. --.-" --separator "|"
```

### [optional] `-o/--output` option

Absolute or relative path to store your encoded/decoded password/passphrase/file.

```bash
cpass encode "encoding" -o /path/to/your/file.txt
cpass encode "encoding" --output /path/to/your/file.txt
```

```bash
cpass decode ". -. -.-. --- -.. .. -. --." -o /path/to/your/file.txt
cpass decode ". -. -.-. --- -.. .. -. --." --output /path/to/your/file.txt
```

```bash
cpass encrypto "/path/to/your/secret-words.txt" -o /path/to/your/encoded-words.txt
cpass encrypto "/path/to/your/secret-words.txt" --output /path/to/your/encoded-words.txt
```

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt" -o /path/to/your/decoded-words.txt
cpass decrypto "/path/to/your/encoded-secret-words.txt" --output /path/to/your/decoded-words.txt
```

### [optional] `--markup` option

Shows the original character in brackets before its Morse code (or vice versa).

**Encoding**

```bash
cpass encode "encoding" --markup
```

Output:

```
[E] . [N] -. [C] -.-. [O] --- [D] -.. [I] .. [N] -. [G] --.
```

**Decoding**

```bash
cpass decode ". -. -.-. --- -.. .. -. --." --markup
```

Output:

```
[.] e [-.] n [-.-.] c [---] o [-..] d [..] i [-.] n [--.] g
```

### [optional] `-u/--upper-case` option

Show your decoded passphrase in UPPERCASE.

```bash
cpass decode ". -. -.-. --- -.. .. -. --. / -.. . -.-. --- -.. .. -. --." -u
cpass decode ". -. -.-. --- -.. .. -. --. / -.. . -.-. --- -.. .. -. --." --upper-case
```

Output:

```
ENCODING DECODING
```

⚠️ *This option is for `decode` subcommand only.*

### [optional] `-t/--title-case` option

Show your decoded passphrase in Title Case.

```bash
cpass decode ". -. -.-. --- -.. .. -. --. / -.. . -.-. --- -.. .. -. --." -t
cpass decode ". -. -.-. --- -.. .. -. --. / -.. . -.-. --- -.. .. -. --." --title-case
```

Output:

```
Encoding Decoding
```

⚠️ *This option is for `decode` subcommand only.*

### [optional] `-f/--fingerprint` option

Determine which letter is uppercase or lowercase. The length of the fingerprint must match with the length of your (decoded) passphrase.

```bash
cpass decode ". -. -.-. --- -.. .. -. --. / -.. . -.-. --- -.. .. -. --." -f 11212211322112121
cpass decode ". -. -.-. --- -.. .. -. --. / -.. . -.-. --- -.. .. -. --." --fingerprint 11212211322112121
```

Output:

```
enCoDIng DEcoDiNg
```

⚠️ *This option is for `decode` subcommand only.*

💡 *The fingerprint is automaticaly generated if your passphrase is chaotic_case (contains uppercase and lowercase letters).*

### [optional] `--hidden` option

Hide your original secret words in a table.

```bash
cpass encrypto "/path/to/your/secret-words.txt" --hidden
```

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt" --hidden
```

## 📝 Usage

### I want to encode my passphrase: `craftwork thus robust dares lullaby`

```bash
cpass encode "craftwork thus robust dares lullaby"
cpass encode "CRAFTWORK THUS ROBUST DARES LULLABY"
cpass encode "Craftwork Thus Robust Dares Lullaby"
```

Output:

```
-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. --- -... ..- ... - / -.. .- .-. . ... / .-.. ..- .-.. .-.. .- -... -.--
```

ℹ️ *Note there are no differences between lowercase, UPPERCASE and Title Case for encoding.*

### I want to encode my passphrase and store the value in a `.txt` file

```bash
cpass encode "craftwork thus robust dares lullaby" --output /path/to/your/file.txt
```

### I want to encode my passphrase with `i` as `-`, `h` as `.` and `|` as `/`

```bash
cpass encode "craftwork thus robust dares lullaby" -D i -d h -s "|"
```

Output:

```
ihih hih hi hhih i hii iii hih ihi | i hhhh hhi hhh | hih iii ihhh hhi hhh i | ihh hi hih h hhh | hihh hhi hihh hihh hi ihhh ihii
```

### I want to encode my passphrase in *chaotic case*: `crAftwoRk Thus r0Bust dAr3s Lull4by`

```bash
cpass encode "crAftwoRk Thus r0Bust dAr3s Lull4by"
```

Output:

```
-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. ----- -... ..- ... - / -.. .- .-. ...-- ... / .-.. ..- .-.. .-.. ....- -... -.--
Fingerprint: 11211112182111518211141216152111711
```

💡 *Note that the fingerprint is used to determine the uppercase and lowercase letters in the passphrase.*

### I want to encode my `.txt` file

```bash
cpass encode "/path/to/your/file.txt"
```

### I want to encode my password: `Th1sIs4Str0ng-p@ssw0rd!`

```bash
cpass encode "Th1sIs4Str0ng-p@ssw0rd!"
```

Output:

```
- .... .---- ... .. ... ....- ... - .-. ----- -. --. -....- .--. .--.-. ... ... .-- ----- .-. -.. -.-.--
Fingerprint: 21312132113113131113113
```

### 💀 WTF is this sh*t?

I want to encode my encoded passphrase: `crAftwoRk Thus r0Bust dAr3s Lull4by`!

```bash
cpass encode "crAftwoRk Thus r0Bust dAr3s Lull4by" -d "Д" -D "й" -s "з"
```

```bash
cpass encode "йДйД ДйД Дй ДДйД й Дйй ййй ДйД йДй з й ДДДД ДДй ДДД з ДйД ййййй йДДД ДДй ДДД й з йДД Дй ДйД ДДДйй ДДД з ДйДД ДДй ДйДД ДйДД ДДДДй йДДД йДйй" -d "á" -D "Ñ" -s "ó" -L russian
```

Output:

```
йДйД ДйД Дй ДДйД й Дйй ййй ДйД йДй з й ДДДД ДДй ДДД з ДйД ййййй йДДД ДДй ДДД й з йДД Дй ДйД ДДДйй ДДД з ДйДД ДДй ДйДД ДйДД ДДДДй йДДД йДйй
Fingerprint: 11211112162111319211161219132111511
```

```
áÑÑÑ Ñáá áÑÑÑ Ñáá ó Ñáá áÑÑÑ Ñáá ó Ñáá áÑÑÑ ó Ñáá Ñáá áÑÑÑ Ñáá ó áÑÑÑ ó Ñáá áÑÑÑ áÑÑÑ ó áÑÑÑ áÑÑÑ áÑÑÑ ó Ñáá áÑÑÑ Ñáá ó áÑÑÑ Ñáá áÑÑÑ ó ÑÑáá ó áÑÑÑ ó Ñáá Ñáá Ñáá Ñáá ó Ñáá Ñáá áÑÑÑ ó Ñáá Ñáá Ñáá ó ÑÑáá ó Ñáá áÑÑÑ Ñáá ó áÑÑÑ áÑÑÑ áÑÑÑ áÑÑÑ áÑÑÑ ó áÑÑÑ Ñáá Ñáá Ñáá ó Ñáá Ñáá áÑÑÑ ó Ñáá Ñáá Ñáá ó áÑÑÑ ó ÑÑáá ó áÑÑÑ Ñáá Ñáá ó Ñáá áÑÑÑ ó Ñáá áÑÑÑ Ñáá ó Ñáá Ñáá Ñáá áÑÑÑ áÑÑÑ ó Ñáá Ñáá Ñáá ó ÑÑáá ó Ñáá áÑÑÑ Ñáá Ñáá ó Ñáá Ñáá áÑÑÑ ó Ñáá áÑÑÑ Ñáá Ñáá ó Ñáá áÑÑÑ Ñáá Ñáá ó Ñáá Ñáá Ñáá Ñáá áÑÑÑ ó áÑÑÑ Ñáá Ñáá Ñáá ó áÑÑÑ Ñáá áÑÑÑ áÑÑÑ
Fingerprint: 121262126213221271421191115212312161516222252218222915212411111712229221922241514122721821262221182226192122822182122621226222213122241211
```

### I want to decode my encoded passphrase in lowercase: `craftwork thus robust dares lullaby`

```bash
cpass decode "-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. --- -... ..- ... - / -.. .- .-. . ... / .-.. ..- .-.. .-.. .- -... -.--"
```

Output:

```
craftwork thus robust dares lullaby
```

### I want to decode my encoded passphrase in uppercase: `CRAFTWORK THUS ROBUST DARES LULLABY`

```bash
cpass decode "-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. --- -... ..- ... - / -.. .- .-. . ... / .-.. ..- .-.. .-.. .- -... -.--" --upper-case
```

Output:

```
CRAFTWORK THUS ROBUST DARES LULLABY
```

### I want to decode my encoded passphrase in titlecase: `Craftwork Thus Robust Dares Lullaby`

```bash
cpass decode "-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. --- -... ..- ... - / -.. .- .-. . ... / .-.. ..- .-.. .-.. .- -... -.--" --title-case
```

Output:

```
Craftwork Thus Robust Dares Lullaby
```

### I want to decode my encoded passphrase and store the value in a `.txt` file

```bash
cpass decode "-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. --- -... ..- ... - / -.. .- .-. . ... / .-.. ..- .-.. .-.. .- -... -.--" --output /path/to/your/file.txt
```

### I want to decode my encoded passphrase in *chaotic case*: `crAftwoRk Thus r0Bust dAr3s Lull4by`

```bash
cpass decode "-.-. .-. .- ..-. - .-- --- .-. -.- / - .... ..- ... / .-. ----- -... ..- ... - / -.. .- .-. ...-- ... / .-.. ..- .-.. .-.. ....- -... -.--" --fingerprint 11211112182111518211141216152111711
```

Output:

```
crAftwoRk Thus r0Bust dAr3s Lull4by
```

### I want to decode my encoded password: `Th1sIs4Str0ng-p@ssw0rd!`

```bash
cpass decode "- .... .---- ... .. ... ....- ... - .-. ----- -. --. -....- .--. .--.-. ... ... .-- ----- .-. -.. -.-.--" -f 21312132113113131113113
```

Output:

```
Th1sIs4Str0ng-p@ssw0rd!
```

### I want to decode my `.txt` file

```bash
cpass decode "/path/to/your/file.txt"
cpass decode "/path/to/your/file.txt" --upper-case
cpass decode "/path/to/your/file.txt" --title-case
cpass decode "/path/to/your/file.txt" --fingerprint FINGERPRINT
```

### 💀 Holy sh*t!

I want to decode my encoded passphrase!

```bash
cpass decode "áÑÑÑ Ñáá áÑÑÑ Ñáá ó Ñáá áÑÑÑ Ñáá ó Ñáá áÑÑÑ ó Ñáá Ñáá áÑÑÑ Ñáá ó áÑÑÑ ó Ñáá áÑÑÑ áÑÑÑ ó áÑÑÑ áÑÑÑ áÑÑÑ ó Ñáá áÑÑÑ Ñáá ó áÑÑÑ Ñáá áÑÑÑ ó ÑÑáá ó áÑÑÑ ó Ñáá Ñáá Ñáá Ñáá ó Ñáá Ñáá áÑÑÑ ó Ñáá Ñáá Ñáá ó ÑÑáá ó Ñáá áÑÑÑ Ñáá ó áÑÑÑ áÑÑÑ áÑÑÑ áÑÑÑ áÑÑÑ ó áÑÑÑ Ñáá Ñáá Ñáá ó Ñáá Ñáá áÑÑÑ ó Ñáá Ñáá Ñáá ó áÑÑÑ ó ÑÑáá ó áÑÑÑ Ñáá Ñáá ó Ñáá áÑÑÑ ó Ñáá áÑÑÑ Ñáá ó Ñáá Ñáá Ñáá áÑÑÑ áÑÑÑ ó Ñáá Ñáá Ñáá ó ÑÑáá ó Ñáá áÑÑÑ Ñáá Ñáá ó Ñáá Ñáá áÑÑÑ ó Ñáá áÑÑÑ Ñáá Ñáá ó Ñáá áÑÑÑ Ñáá Ñáá ó Ñáá Ñáá Ñáá Ñáá áÑÑÑ ó áÑÑÑ Ñáá Ñáá Ñáá ó áÑÑÑ Ñáá áÑÑÑ áÑÑÑ" -d "á" -D "Ñ" -s "ó" -L russian -f 121262126213221271421191115212312161516222252218222915212411111712229221922241514122721821262221182226192122822182122621226222213122241211
```

```bash
cpass decode "йДйД ДйД Дй ДДйД й Дйй ййй ДйД йДй з й ДДДД ДДй ДДД з ДйД ййййй йДДД ДДй ДДД й з йДД Дй ДйД ДДДйй ДДД з ДйДД ДДй ДйДД ДйДД ДДДДй йДДД йДйй" -d "Д" -D "й" -s "з" -f 11211112162111319211161219132111511
```

Output:

```
йДйД ДйД Дй ДДйД й Дйй ййй ДйД йДй з й ДДДД ДДй ДДД з ДйД ййййй йДДД ДДй ДДД й з йДД Дй ДйД ДДДйй ДДД з ДйДД ДДй ДйДД ДйДД ДДДДй йДДД йДйй
```

```
crAftwoRk Thus r0Bust dAr3s Lull4by
```

### I want to encode my secret words for my crypto wallet

```bash
cpass encrypto "/path/to/your/secret-words.txt"
```

Output:

```
+----------------+--------------------------------------+
| Original words | Encoded words                        |
+----------------+--------------------------------------+
| 1. abricot     | 1. .- -... .-. .. -.-. --- -         |
| 2. carapuce    | 2. -.-. .- .-. .- .--. ..- -.-. .    |
| 3. tristan     | 3. - .-. .. ... - .- -.              |
| 4. parapluie   | 4. .--. .- .-. .- .--. .-.. ..- .. . |
| 5. ouvrir      | 5. --- ..- ...- .-. .. .-.           |
| 6. rateau      | 6. .-. .- - . .- ..-                 |
| 7. clavier     | 7. -.-. .-.. .- ...- .. . .-.        |
| 8. souris      | 8. ... --- ..- .-. .. ...            |
| 9. ordinateur  | 9. --- .-. -.. .. -. .- - . ..- .-.  |
| 10. travail    | 10. - .-. .- ...- .- .. .-..         |
| 11. traduire   | 11. - .-. .- -.. ..- .. .-. .        |
| 12. oublier    | 12. --- ..- -... .-.. .. . .-.       |
+----------------+--------------------------------------+
```

### I want to encode my secret words and store the value in a `.txt` file

```bash
cpass encrypto "/path/to/your/secret-words.txt" --output /path/to/your/encoded-words.txt
```

### I want to decode my encoded secret words

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt"
```

Output:

```
+--------------------------------------+---------------+
| Encoded words                        | Decoded words |
+--------------------------------------+---------------+
| 1. .- -... .-. .. -.-. --- -         | 1. abricot    |
| 2. -.-. .- .-. .- .--. ..- -.-. .    | 2. carapuce   |
| 3. - .-. .. ... - .- -.              | 3. tristan    |
| 4. .--. .- .-. .- .--. .-.. ..- .. . | 4. parapluie  |
| 5. --- ..- ...- .-. .. .-.           | 5. ouvrir     |
| 6. .-. .- - . .- ..-                 | 6. rateau     |
| 7. -.-. .-.. .- ...- .. . .-.        | 7. clavier    |
| 8. ... --- ..- .-. .. ...            | 8. souris     |
| 9. --- .-. -.. .. -. .- - . ..- .-.  | 9. ordinateur |
| 10. - .-. .- ...- .- .. .-..         | 10. travail   |
| 11. - .-. .- -.. ..- .. .-. .        | 11. traduire  |
| 12. --- ..- -... .-.. .. . .-.       | 12. oublier   |
+--------------------------------------+---------------+
```

### I want to decode my encoded secret words and store the value in a `.txt` file

```bash
cpass decrypto "/path/to/your/encoded-secret-words.txt" --output /path/to/your/decoded-words.txt
```

## 🙏 Support me

### Liberapay

[![Liberapay Receives](https://img.shields.io/liberapay/receives/gentlhug.svg?logo=liberapay)](https://liberapay.com/gentlhug/donate)

### Bitcoin

![Bitcoin](https://img.shields.io/badge/bitcoin_(BTC)-bc1qpscju34axddyzu40fvwhdzhgj2v0r6dvxxhyda-yellow?logo=bitcoin)
