Skip to main content

TfEncrypt

Project description

tf-encrypt

사용법 : TfEncrypt

data = {'a': 123, 'b': 'b123'}
cipher = TfEncrypt(password="p@ssw0rd")
encrypted_data = cipher.encrypt(data)
decrypted_data = cipher.decrypt(encrypted_data)

사용법 : TfEncryptFernet

data = {'a': 123, 'b': 'b123'}
data = "1234"
data = 3.14
cipher = TfEncryptFernet(password="p@ssw0rd")
encrypted_data = cipher.encrypt(data)
decrypted_data = cipher.decrypt(encrypted_data)

사용법

class A:
    a = 1
    b = 'text2'

data = A()
cipher = TfEncryptFernet(password="p@ssw0rd")
encrypted_data = cipher.encrypt(data)
decrypted_data = cipher.decrypt(encrypted_data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tf_encrypts-1.0.5-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file tf_encrypts-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: tf_encrypts-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.9

File hashes

Hashes for tf_encrypts-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 10e5909ad46ccb285277eb8f532396427eb2f713424cdb3338e915bdb182fab9
MD5 e9137ff9b5bc86c566d6139e46fe8cc4
BLAKE2b-256 81cead6ff2a2c5d3fed0428f1639e8cb71635c1365bbf30e38dbdc8939180812

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