Skip to content

git-mng/python_FERNET_encrypt_decrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

FERNET encrypt/\decrypt file

Fernet (symmetric encryption)¶ Fernet guarantees that a message encrypted using it cannot be manipulated or read without the key. Fernet is an implementation of symmetric (also known as “secret key”) authenticated cryptography. Fernet also has support for implementing key rotation via MultiFernet.

for more datail please check the documentation ==> Fernet Documentation.

/

/

/

Idea of script

idea of the script and that when we have a file that contains login credentials

Example: in the field of automation network, we have files that contain login credentials via ssh for cisco devices

therefore it is better not to keep the files in clear text

Installation

Use the package manager pip to install fernet.

pip install fernet

Usage

the script from two operations:

First = decrypt the file -- Two = decrypt the file

note we have to keep the key to be able to decrypt the file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages