File size: 279 Bytes
2f9e36a
 
 
 
 
 
 
 
b783901
1
2
3
4
5
6
7
8
9
import nycklar.nodes as nodes
from cryptography.fernet import Fernet

key = nodes.key
fernet = Fernet(key)

string_original = "revgenlabs"
string_encriptado = fernet.encrypt(string_original.encode("utf-8"))
string_desencriptado = fernet.decrypt(string_encriptado).decode("utf-8")