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

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

Uploaded Python 3

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