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.1.tar.gz (121.9 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.1-py3-none-any.whl (124.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: whatenc-0.2.1.tar.gz
  • Upload date:
  • Size: 121.9 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.1.tar.gz
Algorithm Hash digest
SHA256 e3b9b01bceaa9d2f8ca806878a569388d98ce65011247cee505ac29fbba31f78
MD5 f142ddf96437265500dd8a1a321189b6
BLAKE2b-256 e14c658ce7e43ffc23edba3b55309742e715ace91dad5873b29b093bfe5b0747

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whatenc-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 124.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 454784fb4cd8bf3d25aecb9fd1f25c0b9113d1d31189a24d6b2e7655e75be85b
MD5 12fe360a8efe76518de8330878460d37
BLAKE2b-256 8be45713579b2bb75362a8f6695b1a0e9a5543e4c7d05f3785ec267478d0c9cf

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