Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,9 @@ from cryptography.hazmat.primitives import hashes
|
|
| 5 |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
|
| 6 |
from cryptography.hazmat.backends import default_backend
|
| 7 |
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Key generation function
|
| 10 |
def generate_key(seed: str, dimensions: int):
|
|
|
|
| 5 |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
|
| 6 |
from cryptography.hazmat.backends import default_backend
|
| 7 |
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
|
| 8 |
+
import streamlit as st
|
| 9 |
+
|
| 10 |
+
st.image("https://huggingface.co/spaces/taarhissian/SentinelCryptography/blob/main/sentinelcryptographylogo.png.webp", caption="SentinelCryptography Logo")
|
| 11 |
|
| 12 |
# Key generation function
|
| 13 |
def generate_key(seed: str, dimensions: int):
|