File size: 301 Bytes
ea6d989
 
 
 
 
 
 
 
 
b783901
1
2
3
4
5
6
7
8
9
10
import time 
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")