Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/eze-kiel/char-stats
- Owner: eze-kiel
- Created: 2020-03-30T13:54:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T00:41:31.000Z (over 4 years ago)
- Last Synced: 2023-03-04T17:44:57.822Z (over 1 year ago)
- Topics: characters, cli, frequency-analysis
- Language: Go
- Homepage:
- Size: 54.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.