# Using Cryptex

### Executing Cryptex

Run the following for help

```
cryptex --help
```

* The help menu will return a list of all available ciphers
* You can append the flag for a cipher after `cryptex` to get help for a cipher
* Here as an example for the Caesar Cipher `cc`

```
cryptex cc
```

* The returned arguments can be passed in addition
* These arguments are the most popular among the ciphers
* `-e` - encryption
* `-d` - decryption
* `-b` - breaking/bruteforcing
* `-k` - encryption key
* `-t` - input text
* `-i` - input file
* `-o` - output file
* However, each cipher will have its own unique arguments for additional features

```
cryptex cc -e -t "hello world" -k 5
```

### Cryptconsole:

The Cryptconsole is a more expansive way of using Cryptex. It allows the user to open a console in their terminal connected to the Cryptex libraries; comparable to [Metasploit](https://www.metasploit.com/) or \[OnlyRAT]\[onlyrat]. The Cryptconsole can allow users to run multiple ciphers back to back to back.

* We can execute the cryptconsole by running the following

```
cryptex
```

* Now multiple ciphers can be run back to back with ease

```
[~] root@cryptex $ cc -e -t "hello world" -k 5
...
[~] root@crytpex $ vc -e -t "hello world" -k hello
```

* Cryptex also has various commands for console interaction
* `help` - displays help menu
* `update` - updates crytpex to latest version
* `version` - displays current version
* `exit` - exits cryptconsole
* Any other command are run through the command line

### Updating Cryptex:

The development team will continuously be pushing out new versions of Cryptex. To prevent users from continuously having to clone the repository, we made an update function.

* Argument Parsing

```
cryptex --update
```

* CryptConsole

```
cryptex
[~] root@crytpex $ update
```

### Uninstalling Cryptex:

If at any point you are unsatisfied or need to rid of the cryptex project \[and its awesomeness]. You can run the following to get it off of your computer.

* Argument Parsing

```
cryptex --remove
```

* CryptConsole

```
cryptex
[~] root@crytpex $ remove
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alexkollar.gitbook.io/cryptex-wiki/cryptex-manual/using-cryptex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
