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
Release history Release notifications | RSS feed
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
Close
Hashes for tf_encrypts-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10e5909ad46ccb285277eb8f532396427eb2f713424cdb3338e915bdb182fab9 |
|
MD5 | e9137ff9b5bc86c566d6139e46fe8cc4 |
|
BLAKE2b-256 | 81cead6ff2a2c5d3fed0428f1639e8cb71635c1365bbf30e38dbdc8939180812 |