Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
python-nexlibs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
python-nexlibs
Commits
a88e8d4f
Commit
a88e8d4f
authored
Jan 11, 2018
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sha256 pass
parent
13a8d53a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
genutils.py
nexlibs/utils/genutils.py
+6
-0
No files found.
nexlibs/utils/genutils.py
View file @
a88e8d4f
...
@@ -256,3 +256,9 @@ def hashPwd(pwd):
...
@@ -256,3 +256,9 @@ def hashPwd(pwd):
return
s
.
hexdigest
()
return
s
.
hexdigest
()
return
False
return
False
def
hashPwd256
(
pwd
):
if
pwd
and
len
(
pwd
)
>
3
:
s
=
sha256
()
s
.
update
(
pwd
)
return
s
.
hexdigest
()
return
False
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment