summaryrefslogtreecommitdiff
path: root/Biz/Bild/Example.py
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Bild/Example.py')
-rw-r--r--Biz/Bild/Example.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Biz/Bild/Example.py b/Biz/Bild/Example.py
index dd9a6ef..e5766ba 100644
--- a/Biz/Bild/Example.py
+++ b/Biz/Bild/Example.py
@@ -15,6 +15,9 @@ def cryptic_hello(name: str) -> str:
Encrypt and decrypt `name`.
Example taken from `cryptography` docs.
+
+ Raises:
+ ValueError: if decryption fails
"""
key = cryptography.fernet.Fernet.generate_key()
f = cryptography.fernet.Fernet(key)