Skip to main content

Simple text encoding type classifier

Project description

whatenc

Simple text encoding type classifier.

whatenc uses statistical and linguistic features to detect how a given string is encoded.

Usage

pipx install whatenc
whatenc aGVsbG8gd29ybGQ=
whatenc samples.txt

Examples

[+] input: aGVsbG8gd29ybGQ=
   [=] top guess   = base64
      [~] base64   = 0.455
      [~] plain    = 0.312
      [~] url      = 0.126

[+] input: hello
   [=] top guess   = plain
      [~] plain    = 0.552
      [~] url      = 0.246
      [~] rot13    = 0.192

[+] input: uryyb jbeyq
   [=] top guess   = rot13
      [~] rot13    = 0.555
      [~] plain    = 0.440
      [~] url      = 0.004

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whatenc-0.1.0.tar.gz (102.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whatenc-0.1.0-py3-none-any.whl (104.2 kB view details)

Uploaded Python 3

File details

Details for the file whatenc-0.1.0.tar.gz.

File metadata

  • Download URL: whatenc-0.1.0.tar.gz
  • Upload date:
  • Size: 102.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for whatenc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0b89786ca571135b544d9966dde268f7f87949e1c1855b5736bd9db28035c6a5
MD5 62e8ec304b4ed27d2ae2d589f2939ddf
BLAKE2b-256 334f4fa74c19552ea6b55a4023e9d8ba557ba05f1b92c7965fb6e796293aeaa4

See more details on using hashes here.

File details

Details for the file whatenc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: whatenc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 104.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for whatenc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec8823c14ec5a6d3fa67c19c01565540146b3e69ad290444bdedd44b324fd3c5
MD5 fec133d34f67864d1e8639cbf992c4cf
BLAKE2b-256 b8b2b0cc362b5baff3e22cb2d3c5391d8001077fca42e1ee2b04e6bc02f28315

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page