passphera-core 0.6.0__py3-none-any.whl → 0.7.0__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 +2 -2
- {passphera_core-0.6.0.dist-info → passphera_core-0.7.0.dist-info}/METADATA +1 -1
- passphera_core-0.7.0.dist-info/RECORD +7 -0
- passphera_core-0.6.0.dist-info/RECORD +0 -7
- {passphera_core-0.6.0.dist-info → passphera_core-0.7.0.dist-info}/WHEEL +0 -0
- {passphera_core-0.6.0.dist-info → passphera_core-0.7.0.dist-info}/top_level.txt +0 -0
passphera_core/generator.py
CHANGED
@@ -178,9 +178,9 @@ class PasswordGenerator:
|
|
178
178
|
password = self.generate_raw_password(text)
|
179
179
|
self._algorithm_name = old_algorithm
|
180
180
|
password = self.generate_raw_password(password)
|
181
|
+
for char, replacement in self._characters_replacements.items():
|
182
|
+
password = password.replace(char, replacement)
|
181
183
|
for char in password:
|
182
184
|
if char in text:
|
183
185
|
password = password.replace(char, char.upper())
|
184
|
-
for char, replacement in self._characters_replacements.items():
|
185
|
-
password = password.replace(char, replacement)
|
186
186
|
return password
|
@@ -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=49fqsvxtrywK1PQBP58ciOOrruYG4UhWDMW9eBsqaWk,6478
|
4
|
+
passphera_core-0.7.0.dist-info/METADATA,sha256=ILZ-bTpQFF_WcXmy3vOhzbn0l6Nn8U54MSmnWxdnEWI,628
|
5
|
+
passphera_core-0.7.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
+
passphera_core-0.7.0.dist-info/top_level.txt,sha256=aDUX2iWGOyfzyf6XakLWTbgeWqNrypMHO074Qratyds,15
|
7
|
+
passphera_core-0.7.0.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=s0Uc4S3SCT97xwQ0Gcw4hogGFIzTG5W0QX6Hs01iXII,6478
|
4
|
-
passphera_core-0.6.0.dist-info/METADATA,sha256=e_eLSaPhPv2kwOHyPQOyLS7RADfmTQ5ni-VBLpoJ1sU,628
|
5
|
-
passphera_core-0.6.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
-
passphera_core-0.6.0.dist-info/top_level.txt,sha256=aDUX2iWGOyfzyf6XakLWTbgeWqNrypMHO074Qratyds,15
|
7
|
-
passphera_core-0.6.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|