Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/triztian/cryptster

A simple CLI tool to implement basic ciphers
https://github.com/triztian/cryptster

Last synced: about 1 month ago
JSON representation

A simple CLI tool to implement basic ciphers

Awesome Lists containing this project

README

        

Cryptster
=========

A simple library to implement basic ciphers

It currently supports the ROT13 cipher (similar). Well actually it just adds 13 to the input.

Repo: https://github.com/Triztian/cryptster

## Usage

### Ciphering a string

```
$ cryptster -c "ROT13" -t "Hello"
```

### Ciphering the file content
```
$ cryptster -c "ROT13" -f "file-with-content.txt"
```

### Ciphering a string and writing the ciphertext into a file

```
$ cryptster -c "ROT13" -t "Hello" -o "my-secret-file.rot13"
```

### Unciphering a string
```
$ cryptster -d -c "ROT13" -t "Uryy|"
```

### Unciphering a file
```
$ cryptster -d -c "ROT13" -f "my-secret-file.rot13"
```

## Symmetric Key Ciphering
### AES (Rijndael)
To use the AES encryption you should provide a 16 char length key string.
```
$ cryptster -k "1234567890abcdef" -c AESCBC128 -t "My secret message"
```