passphera-core 0.8.0__py3-none-any.whl → 0.8.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: ```key_str = pg.key_str```
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
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -12,7 +12,9 @@ Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Topic :: Security
14
14
  Classifier: Topic :: Security :: Cryptography
15
+ Requires-Python: >=3
15
16
  Description-Content-Type: text/markdown
17
+ Requires-Dist: cipherspy
16
18
 
17
19
  # passphera-core
18
20
 
@@ -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.0.dist-info/METADATA,sha256=xD1N4F88-CJI1dScEVxotEezn7sW52yabghbAuXts8c,629
5
- passphera_core-0.8.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
- passphera_core-0.8.0.dist-info/top_level.txt,sha256=aDUX2iWGOyfzyf6XakLWTbgeWqNrypMHO074Qratyds,15
7
- passphera_core-0.8.0.dist-info/RECORD,,