Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eze-kiel/char-stats

Characters frequency analyser for mono-alphabetical substitution encryption cracking, or simple language detection.
https://github.com/eze-kiel/char-stats

characters cli frequency-analysis

Last synced: 4 days ago
JSON representation

Characters frequency analyser for mono-alphabetical substitution encryption cracking, or simple language detection.

Awesome Lists containing this project

README

        

# char-stats

![Licence](https://img.shields.io/badge/License-GPL-brightgreen)

Generation of graphs according to the frequency of apparition of characters in a file. Can be used for cracking mono-alphabetical substitution encryption.

## Usage

```Shell
options :
-file
file which will be analysed
-output
name of the output graph (default: graph.png)
-layout
alpha : alphabetical order (default)
asc : ascending order
```
Typical use :
```Shell
$ go run main.go -file text.txt -output graph.png
```
This will analyse `text.txt` and display the results in a graph named `graph.png`. You have to specify the extension of the output (default : PNG).

## Example
Example with *La comédie humaine vol. 1* from Honoré de Balzac, in french :
![](graph.png)

## Copyright

License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it.