From 8afc69fec53697e18f69f629a56619e9184b5557 Mon Sep 17 00:00:00 2001 From: zeekling Date: Sat, 12 Mar 2022 20:01:12 +0800 Subject: [PATCH] add hash test --- hash/nthash_test.py | 8 ++++++++ requirement.txt | 1 + 2 files changed, 9 insertions(+) create mode 100755 hash/nthash_test.py create mode 100644 requirement.txt diff --git a/hash/nthash_test.py b/hash/nthash_test.py new file mode 100755 index 0000000..ef6a469 --- /dev/null +++ b/hash/nthash_test.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 + +from passlib.hash import nthash + +h = nthash.hash('admin'); + +print(h) + diff --git a/requirement.txt b/requirement.txt new file mode 100644 index 0000000..419829d --- /dev/null +++ b/requirement.txt @@ -0,0 +1 @@ +passlib