Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to encrypt a string python

from cryptography.fernet import Fernet
message = "my deep dark secret".encode()

f = Fernet(key)
encrypted = f.encrypt(message)
Source by nitratine.net #
 
PREVIOUS NEXT
Tagged: #encrypt #string #python
ADD COMMENT
Topic
Name
1+8 =