-
-
Save ayushgun/1fd456f8cfb51e1d6ccf21d52c39317f to your computer and use it in GitHub Desktop.
Generate a SHA256 encryption key using
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cryptography.fernet import Fernet | |
key = Fernet.generate_key() | |
print(f"Fernet encryption key:\n{key.decode('utf8')}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment