Created
August 9, 2017 03:12
-
-
Save ksc91u/18021f5875a15664bc099d24ee4583d2 to your computer and use it in GitHub Desktop.
password of the month
This file contains hidden or 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 time | |
import hashlib | |
import base64 | |
password="oathkeeper" | |
date=time.strftime("%m/%Y") | |
print("password of the month: "+ date) | |
print(base64.b64encode(hashlib.sha384(password+date).digest())[:40]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
password of the month: 08/2017
yFjYIyoLa3v/9qHtMnlzSctKu3cfoLKqhGY5BVIr