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.2.0.tar.gz (112.3 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.2.0-py3-none-any.whl (115.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whatenc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cdae9f225dddc2a302deaa9dcbc519f44a4608d0a3ec4dc393d7e0e9e8d1f499
MD5 701e116743624eaad8826b0fcf141b87
BLAKE2b-256 801c17e8e107f2c37aac90487825c3b4e6a07e504fb0e531cffdf6208cf6215f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whatenc-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 115.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1ef813168aeed4bd7b8c017d792d2645594afaaf31a52de1ca807069fbbcbcd
MD5 6125f7409fae78e7f248c7bf2d1285cf
BLAKE2b-256 1e32f6a19e236cef51baf5bc1b5d0691365ef78500d49abd9f6fe54eec01c19f

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