Created
January 12, 2022 06:13
-
-
Save Aniket-508/ed27dea2ece3ad4b5f38b0073431d872 to your computer and use it in GitHub Desktop.
Program to encrypt a password using Python
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
import base64 | |
password = "sweet_kitty".encode("utf-8") | |
encrypted_password = base64.b64encode(password) | |
print(encrypted_password) | |
decrypted_password = base64.b64decode(encrypted_password) | |
print(decrypted_password) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment