Skip to content

Instantly share code, notes, and snippets.

@Aniket-508
Created January 12, 2022 06:13
Show Gist options
  • Save Aniket-508/ed27dea2ece3ad4b5f38b0073431d872 to your computer and use it in GitHub Desktop.
Save Aniket-508/ed27dea2ece3ad4b5f38b0073431d872 to your computer and use it in GitHub Desktop.
Program to encrypt a password using Python
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