Skip to content

Commit

Permalink
Add hexadecimal generator #2
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed Feb 24, 2016
1 parent 8d8dc81 commit 25011cd
Show file tree
Hide file tree
Showing 19 changed files with 494 additions and 64 deletions.
Binary file not shown.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ Generates semi-pronounceable passwords based on Markov chains and the start of *
Has slightly more entropy than the [Pronounceable Nonsense generator](#pronounceable-nonsense-generator), but the passwords aren't quite as pronounceable.


#### Hexadecimal Generator ####

Generate passwords using hexadecimal characters (0-9, a-f).


#### German Generator ####

Generate passwords using the German alphabet, digits and punctuation.
Expand Down
2 changes: 1 addition & 1 deletion src/generators/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
2 changes: 1 addition & 1 deletion src/generators/gen_basic.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
3 changes: 1 addition & 2 deletions src/generators/gen_dictionary.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand All @@ -10,7 +10,6 @@

"""
A password generator based on the contents of ``/usr/share/dict/words``
"""

from __future__ import print_function, unicode_literals, absolute_import
Expand Down
2 changes: 1 addition & 1 deletion src/generators/gen_german.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
17 changes: 14 additions & 3 deletions src/generators/gen_hex.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
import string
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2016 Matthieu Baudoux <https://github.com/gabalis>,
# Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
# Created on 2016-02-24
#

from generators import PassGenBase


class HexGenerator(PassGenBase):
"""Generate passwords made of hexadecimal chars only."""
"""Generate passwords made of hexadecimal characters only."""

@property
def id(self):
Expand All @@ -18,4 +29,4 @@ def description(self):

@property
def data(self):
return '0123456789abcdef'
return '0123456789abcdef'
2 changes: 1 addition & 1 deletion src/generators/gen_pronounceable.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
2 changes: 1 addition & 1 deletion src/generators/gen_pronounceable_markov.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
2 changes: 1 addition & 1 deletion src/pwgen.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# encoding: utf-8
#
# Copyright © 2015 deanishe@deanishe.net
# Copyright (c) 2015 Dean Jackson <deanishe@deanishe.net>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
2 changes: 1 addition & 1 deletion src/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3
1.4
Binary file added src/workflow/Notify.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/workflow/background.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright © 2014 deanishe@deanishe.net
# Copyright (c) 2014 deanishe@deanishe.net
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
Expand Down
Loading

0 comments on commit 25011cd

Please sign in to comment.