Skip to content

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

Notifications You must be signed in to change notification settings

eze-kiel/char-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

char-stats

Licence

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

Usage

options :
	-file <folder name>
		file which will be analysed
	-output <graph name>
		name of the output graph (default: graph.png)
	-layout <layout type>
		alpha : alphabetical order (default)
		asc : ascending order

Typical use :

$ 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 :

Copyright

License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages