Jak złamać czteroganowy uścisk dłoni z Pythonem
#import hashlib
from pbkdf2 import PBKDF2
ssid = 'cyberpunk'
pass= 'theone'
print "Pairwise Master Key (PMK): " + PBKDF2(phrase, ssid, 4096).read(32).encode("hex"))
# ALTERNATIVE
# pmk = hashlib.pbkdf2_hmac('sha1', passphrase, SSID.encode(), 4096, 32)
Strange Swan