from cryptography.fernet import Fernet

# Gera uma chave válida (do tipo bytes)
key_bytes = Fernet.generate_key()

# Converte a chave para string para que possa ser lida e copiada facilmente
key_string = key_bytes.decode()

print("--- COPIE A CHAVE ABAIXO ---")
print(key_string)
print("----------------------------")