passphera-core 0.8.1__py3-none-any.whl → 0.8.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- passphera_core/generator.py +39 -1
- {passphera_core-0.8.1.dist-info → passphera_core-0.8.2.dist-info}/METADATA +1 -1
- passphera_core-0.8.2.dist-info/RECORD +7 -0
- passphera_core-0.8.1.dist-info/RECORD +0 -7
- {passphera_core-0.8.1.dist-info → passphera_core-0.8.2.dist-info}/WHEEL +0 -0
- {passphera_core-0.8.1.dist-info → passphera_core-0.8.2.dist-info}/top_level.txt +0 -0
passphera_core/generator.py
CHANGED
@@ -78,7 +78,7 @@ class PasswordGenerator:
|
|
78
78
|
def key(self) -> str:
|
79
79
|
"""
|
80
80
|
Returns the key string for the cipher algorithm
|
81
|
-
Eg: ```
|
81
|
+
Eg: ```key = pg.key```
|
82
82
|
:return: str: The key string for the cipher algorithm
|
83
83
|
"""
|
84
84
|
return self._key
|
@@ -93,6 +93,44 @@ class PasswordGenerator:
|
|
93
93
|
"""
|
94
94
|
self._key = key
|
95
95
|
|
96
|
+
@property
|
97
|
+
def prefix(self) -> str:
|
98
|
+
"""
|
99
|
+
Returns the prefix string for the cipher algorithm
|
100
|
+
Eg: ```prefix = pg.prefix```
|
101
|
+
:return: str: The prefix string for the cipher algorithm
|
102
|
+
"""
|
103
|
+
return self._prefix
|
104
|
+
|
105
|
+
@prefix.setter
|
106
|
+
def prefix(self, prefix: str):
|
107
|
+
"""
|
108
|
+
Sets the prefix string for the cipher algorithm
|
109
|
+
Eg: ```pg.prefix = 'something'```
|
110
|
+
:param prefix: The string for the cipher algorithm
|
111
|
+
:return:
|
112
|
+
"""
|
113
|
+
self._prefix = prefix
|
114
|
+
|
115
|
+
@property
|
116
|
+
def postfix(self) -> str:
|
117
|
+
"""
|
118
|
+
Returns the postfix string for the cipher algorithm
|
119
|
+
Eg: ```postfix = pg.postfix```
|
120
|
+
:return: str: The postfix string for the cipher algorithm
|
121
|
+
"""
|
122
|
+
return self._postfix
|
123
|
+
|
124
|
+
@postfix.setter
|
125
|
+
def postfix(self, postfix: str):
|
126
|
+
"""
|
127
|
+
Sets the postfix string for the cipher algorithm
|
128
|
+
Eg: ```pg.postfix = 'something'```
|
129
|
+
:param postfix: The string for the cipher algorithm
|
130
|
+
:return:
|
131
|
+
"""
|
132
|
+
self._postfix = postfix
|
133
|
+
|
96
134
|
@property
|
97
135
|
def algorithm(self) -> str:
|
98
136
|
"""
|
@@ -0,0 +1,7 @@
|
|
1
|
+
passphera_core/__init__.py,sha256=ND2D_sTQk5mroNRsKm03PXhx0HNf0740hOtZ4_U98OQ,119
|
2
|
+
passphera_core/exceptions.py,sha256=PPZhy05QMVnN3mm6EGj-RgWanMaF3E6aKN4lcpNOJY8,158
|
3
|
+
passphera_core/generator.py,sha256=O255qvsmanrj9BmJX-JxpT5iMFd1iEz2ewJC-r5O1WQ,7726
|
4
|
+
passphera_core-0.8.2.dist-info/METADATA,sha256=2K4lTWVwrrttr61xA84AZrB6uSD7A1oncNJk-IUOKJE,675
|
5
|
+
passphera_core-0.8.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
+
passphera_core-0.8.2.dist-info/top_level.txt,sha256=aDUX2iWGOyfzyf6XakLWTbgeWqNrypMHO074Qratyds,15
|
7
|
+
passphera_core-0.8.2.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
passphera_core/__init__.py,sha256=ND2D_sTQk5mroNRsKm03PXhx0HNf0740hOtZ4_U98OQ,119
|
2
|
-
passphera_core/exceptions.py,sha256=PPZhy05QMVnN3mm6EGj-RgWanMaF3E6aKN4lcpNOJY8,158
|
3
|
-
passphera_core/generator.py,sha256=-lUrZLrNv1cqGBXzP5iQSixZ1WPIEiTCmVk_bpIi0Ow,6640
|
4
|
-
passphera_core-0.8.1.dist-info/METADATA,sha256=8KCnW0KdeeXLW0PQxtagb2Rn3a0TtEP13k5U6vDd4Ck,675
|
5
|
-
passphera_core-0.8.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
-
passphera_core-0.8.1.dist-info/top_level.txt,sha256=aDUX2iWGOyfzyf6XakLWTbgeWqNrypMHO074Qratyds,15
|
7
|
-
passphera_core-0.8.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|