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)
Metadata
Release files for tf-encrypts 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tf_encrypts-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / tf_encrypts-1.0.5-py3-none-any.whl
| Download URL | tf_encrypts-1.0.5-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10e5909ad46ccb285277eb8f532396427eb2f713424cdb3338e915bdb182fab9
|
|
BLAKE2b-256 checksum How to use checksums |
81cead6ff2a2c5d3fed0428f1639e8cb71635c1365bbf30e38dbdc8939180812
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|