Skip to main content

SHIFT-ENCODER

Build Status

shift-encode is a encoding and decoding libery for file or message encoding with salt value and verifying the message and file for original sources with a decoding feature.

  • Encode a message with a salt value
  • Decode that same message
  • And verifying the message sources

Building for source

First install all requirement file:

>>> pip install shiftencode

Run the drawing code:

Step 1 : Encode a message with shiftencoder

>>> from shiftencode import encrypt
>>> encrypt(message="hello-world", salt="test")
'sftend216se213se220se220se223se157se231se223se226se220se212se'

Step 2 : Decode the message using shiftencoder

>>> from shiftencode import decrypt
>>> decrypt(message="sftend216se213se220se220se223se157se231se223se226se220se212se", salt="test")

Step 3 : verify the sources of the message

>>> from shiftencode import validator
>>> validator(message="sftend216se213se220se220se223se157se231se223se226se220se212se", salt="test", verifier="hello-world")
True
>>> validator(message="sftend216se213se220se220se223se157se231se223se226se220se212se", salt="twts", verifier="hello-world")
False

License

MIT

NOTE :

Author: Dip Ghosh
email: dipghoshraj@gmail.com
IOT and robotics developer with a handson experience in Software development and DevOps.

Metadata

Release files for shiftencode 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shiftencode 0.0.4
File Size Uploaded Provenance Actions
shiftencode-0.0.4.tar.gz 2.5 kB Without provenance Details for shiftencode-0.0.4.tar.gz

Release files / shiftencode-0.0.4.tar.gz

Download URL shiftencode-0.0.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c78bffd0c6a0e063103fe9e0abb5a725bbd888a5cc8fd2d7b24ba05ec11c335b
BLAKE2b-256 checksum
How to use checksums
3a89619ac18863780556791e0039389c958b72326ad677d9adb4417033764af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Security for shiftencode 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page