Skip to main content

AdvancedFernetDataEncryption

An encryption that uses the Fernet symetric key generator and random values to create a secure token and key that can be stored and still be unreadable to any user.

Methods Supported

  • generateSessionToken(): Generates a random 120 length string and encrypts with fernet symetric algorithm. Used for Web Sessions return Token, Key
  • dataEncryption(): Generates a random 120 length string and shoves it randomly in the PlainTxt and shoves the token randomly in the 120 length string generated. Then all of this information is encrypted with the fernet algorithm. return <string>
  • dataDecrpytion(): Decodes the giant encrypted text generated and creates a plain text version return <String>
  • decryption(): Decodes the basic encrypted text generated and creates a plain text version return <String> Recommended to use only this method for the generated session token

Package Installation

pip install AdvancedFernetDataEncryption More Info can be found on pypi.org here

Basic Usage Example

from Encryption.AdvancedFernetDataEncryption import *

text = "Hello I would like to be encrypted
encryptedText = dataEncryption(text, MinLength=20, MaxLength=100)
unencryptedText = dataDecrpytion(encryptedText)

When run these following lines the text will be encrypted and would be unecryptable without the usage of the Token generated, which is randomly generated for each encrypted text.

Example of Encryption Result

image

Metadata

Release files for AdvancedFernetDataEncryption 1.1

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

Source distribution (sdist)

Source distribution for AdvancedFernetDataEncryption 1.1
File Size Uploaded Provenance Actions
advancedfernetdataencryption-1.1.tar.gz 4.3 kB Without provenance Details for advancedfernetdataencryption-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for AdvancedFernetDataEncryption 1.1
File Interpreter ABI Platform Actions
advancedfernetdataencryption-1.1-py3-none-any.whl Python 3 none any Details for advancedfernetdataencryption-1.1-py3-none-any.whl

Total release size: 8.5 kB

Release files / advancedfernetdataencryption-1.1.tar.gz

Download URL advancedfernetdataencryption-1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
07cd4170c0eb50e85cf716044f7b5ba3375af9094d89bee569e5b51dfcaa2944
BLAKE2b-256 checksum
How to use checksums
2060d31ab0436552e2a4d26d1eb57ace36c43a9f10afcf819b7181e3965dfe6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / advancedfernetdataencryption-1.1-py3-none-any.whl

Download URL advancedfernetdataencryption-1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14c7eabce0112a7d16470ef4354584ece17a8a7111fa029d7bedeac96e020482
BLAKE2b-256 checksum
How to use checksums
3e2a8155c295608f33231ad709c71fec807790ec8cf87e3cbf05e2d3708afeac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for AdvancedFernetDataEncryption 1.1

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