From d29605169f99632f9e8f34c8fab5c2a28086c53e Mon Sep 17 00:00:00 2001 From: Bill Buchanan Date: Thu, 11 Feb 2021 17:47:41 +0000 Subject: [PATCH] Update README.md --- unit03_hashing/lab/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit03_hashing/lab/README.md b/unit03_hashing/lab/README.md index 7445c76..1f35ea0 100644 --- a/unit03_hashing/lab/README.md +++ b/unit03_hashing/lab/README.md @@ -649,8 +649,8 @@ print("Bcrypt:\t\t\t", bcrypt.kdf(string.encode(),salt=salt.encode(),desired_key print("APR1:\t\t\t", passlib.hash.apr_md5_crypt.encrypt(string.encode(), salt=salt)) -print("PBKDF2 (SHA1):\t\t", passlib.hash.pbkdf2_sha1.encrypt(string.encode(),rounds=5, salt=salt.encode())) -print("PBKDF2 (SHA-256):\t", passlib.hash.pbkdf2_sha256.encrypt(string,rounds=5, salt=salt.encode())) +print("PBKDF2 (SHA1):\t\t", passlib.hash.pbkdf2_sha1.hash(string.encode(),rounds=5, salt=salt.encode())) +print("PBKDF2 (SHA-256):\t", passlib.hash.pbkdf2_sha256.hash(string,rounds=5, salt=salt.encode())) print("LM Hash:\t\t", passlib.hash.lmhash.encrypt(string.encode())) print("NT Hash:\t\t", passlib.hash.nthash.encrypt(string.encode()))