Skip to main content

An encrypting algorithm

Project description

UIE

Universal Integer Encrypting algorithm.

USAGE

UIE.UIECoder(key, key_mode, result_mode, splitter, dict_)

  • key : str - A key for encryption\decryption.
  • key_mode : UIEKeyMode - A formatter for key.
  • result_mode : UIEResultMode - A result formatter.
Encryption:
UIECoder.encrypt(text)
  This method is returing encrypted data.

  text : str - Data for encrypt.
Decryption:
UIECoder.decrypt(encrypted)
  This method is returning decrypted data.

  encrypted - Encrypted data. (Type from result formatter)

UIE.modes

UIE.modes.UIEKeyMode
  Key modes:
    UIEKeyMode.uD - Default.
    UIEKeyMode.u1 - sha1 hash.
    UIEKeyMode.u256 - sha256 hash.
    UIEKeyMode.uM5 - md5 hash.
UIE.modes.UIEResultMode
  Result modes:
    UIEResultMode.uR - Raw.
    UIEResultMode.uB64 - Base64 encoding.

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

UIE-1.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

UIE-1.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file UIE-1.0.1.tar.gz.

File metadata

  • Download URL: UIE-1.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for UIE-1.0.1.tar.gz
Algorithm Hash digest
SHA256 691aec9b8b02c596007d22a14c1fb56afef0b0ce5f5f87e8e20929d157af3827
MD5 442e13039790d0dc75638d8599d04c8b
BLAKE2b-256 16f3c2b71dbe8b46c85d605bc33f5dc902b061ed525b64a383462d6f863f289a

See more details on using hashes here.

File details

Details for the file UIE-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: UIE-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for UIE-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36bdcbe3bf128db045fc573c609936649a557ec610e1f4299aae82adeadb0b3a
MD5 3c77d4805845386ccce484ef4e92ca00
BLAKE2b-256 8724bf12bfa0c1ae686aab7efbf61cc5d12dbf0397462df3d588558b28c97f98

See more details on using hashes here.

Supported by

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