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.3.0.tar.gz (182.2 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.3.0-py3-none-any.whl (187.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whatenc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5374517f2d4e53e18ab675ac856a6716cfedd2e639bccb63ae3c5d0d8e7b789b
MD5 286e7b1ba2184b05b122ba688e68aff2
BLAKE2b-256 aace3330fbfde33964eaae65e80215442d828efdb2d1f55e4815e7cea67f5af8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whatenc-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 187.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f2c46d56c8abedf4bbe52f62bd8d572f695d7862a72bd514863fbdf4a1119bd
MD5 713a9cf439f842e5c574710498b0babe
BLAKE2b-256 86e5178e17290ca1c13ed4d12c9f593cc1c1e0bf18cfce0328dc4f9f384e36bc

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