PROGRAM TO ENCYRPT AND DECRYPT A PASSWORD USING PYTHON
from cryptography.fernet import Fernet
gen_key=Fernet.generate_key()
fer=Fernet(gen_key)
message="password type here!!!!"
encrypted=fer.encrypt(message.encode())
print(encrypted)
decrypted=fer.decrypt(encrypted)
print(decrypted)
What is meant encrypt and decrypt
ReplyDeleteThis comment has been removed by the author.
ReplyDelete