Skip to content

Instantly share code, notes, and snippets.

@ksc91u
Created August 9, 2017 03:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ksc91u/18021f5875a15664bc099d24ee4583d2 to your computer and use it in GitHub Desktop.
Save ksc91u/18021f5875a15664bc099d24ee4583d2 to your computer and use it in GitHub Desktop.
password of the month
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])
@ksc91u
Copy link
Author

ksc91u commented Aug 9, 2017

password of the month: 08/2017
yFjYIyoLa3v/9qHtMnlzSctKu3cfoLKqhGY5BVIr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment