Spaces:
Paused
Paused
Upload core/security/encryption.py with huggingface_hub
Browse files
core/security/encryption.py
CHANGED
|
@@ -81,6 +81,8 @@ class VersionedEncryptedString(TypeDecorator):
|
|
| 81 |
class EncryptedString(VersionedEncryptedString):
|
| 82 |
"""Backward compatibility alias for VersionedEncryptedString"""
|
| 83 |
|
|
|
|
|
|
|
| 84 |
|
| 85 |
# Helper methods
|
| 86 |
def encrypt_value(value: str) -> str:
|
|
|
|
| 81 |
class EncryptedString(VersionedEncryptedString):
|
| 82 |
"""Backward compatibility alias for VersionedEncryptedString"""
|
| 83 |
|
| 84 |
+
cache_ok = True
|
| 85 |
+
|
| 86 |
|
| 87 |
# Helper methods
|
| 88 |
def encrypt_value(value: str) -> str:
|