Skip to main content
# Freqens
![TravisCI Status](https://magnum.travis-ci.com/BraulioVM/freqens.svg?token=qKkPGCZvRdJvJ693qC2L)
> Perform frequency analysis with python

### Example
````python
# break single byte xor encryption

from freqens import EnglishAnalyzer

def single_byte_xor(text, byte):
return "".join( chr(c ^ byte) for c in bytearray(text) )

with open("ciphertext.txt") as ciphertext_file:
ciphertext = ciphertext_file.read()
analyzer = EnglishAnalyzer()

possible_plaintexts = ( single_byte_xor(ciphertext, byte) for byte in range(256) )

answer = analyzer.choose_best(possible_plaintexts)

print answer[0] # Solution !!!

````
### Getting Started
Get started [here](http://freqens.readthedocs.org/en/latest/tutorial.html)

### Documentation
Read them at [readthedocs](http://freqens.readthedocs.org/en/latest/)

Metadata

Release files for freqens 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for freqens 0.0.3
File Size Uploaded Provenance Actions
freqens-0.0.3.tar.gz 5.8 kB Without provenance Details for freqens-0.0.3.tar.gz

Release files / freqens-0.0.3.tar.gz

Download URL freqens-0.0.3.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e0183b4aa96ad6db017e23f73fd9dc2970afaaf38253c0ed02cfed41ba5c7e7d
BLAKE2b-256 checksum
How to use checksums
b2d257a52bbeb74c1f68ac37491dbc27213e941d4aab20b35ce98c5d39d2e60c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for freqens 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page