Skip to content

Commit 54204ff

Browse files
committed
Update README.md
1 parent e7107b2 commit 54204ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ It is based on AES encryption (265 or 128 bytes).
1515
It's main features are:
1616
- Encrypt any pickable Python object / variables
1717
- Add an UTC timestamp to the encrypted message
18-
- Verify that decrypted messages timestamps aren't in the future
18+
- Verify that decrypted messages timestamps aren't in the future or too old (for bad RTC clock diags)
1919
- Allow symmetric encryption (AES)
2020
- 128, 192 or 256 bits encryption
2121
- Allow asymmetric encryption (RSA + AES)
@@ -48,6 +48,7 @@ timestamp, original_object = symmetric_encryption.decrypt_message(encrypted, key
4848
from cryptidy import asymmetric_encryption
4949
5050
priv_key, pub_key = asymmetric_encryption.generate_keys(2048) # 2048 bits RSA key
51+
5152
some_python_object = ['foo', 'bar']
5253
encrypted = asymmetric_encryption.encrypt_message(some_python_object, pub_key)
5354
timestamp, original_object = asymmetric_encryption.decrypt_message(encrypted, priv_key)

0 commit comments

Comments
 (0)