freq: Are you ready to get freaky?

[ data, library, mit, text ] [ Propose Tags ]

This library provides a way to train a model that predicts the "randomness" of an input ByteString.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0, 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.1
Dependencies base (>=4.9 && <4.13), binary (>=0.8 && <0.11), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.7), deepseq (>=1.4 && <1.5), primitive (>=0.6.4 && <0.7) [details]
License MIT
Author chessai
Maintainer chessai <chessai1996@gmail.com>
Category Text, Data
Home page https://github.com/chessai/freq
Bug tracker https://github.com/chessai/freq/issues
Source repo head: git clone https://github.com/chessai/freq.git -b master
Uploaded by chessai at 2019-04-29T20:38:29Z
Distributions
Downloads 3387 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-04-29 [all 1 reports]

Readme for freq-0.1.1

[back to package description]

freq

About

This is a simple cryptanalytic frequency analysis tool that uses english character digrams as a probabilistic model for scoring ByteStrings according to their randomness (0..1, 0 being the most random, 1 being the least random).

Uses

I currently use this to validate domain names, and so the training data available consists of about 6.5 Megabytes of Public Domain 19th and 20th century English novels. You can feed any training data you wish to 'freq' to achieve different results.