passphera-core 0.6.0__tar.gz → 0.7.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name='passphera-core',
8
- version='0.6.0',
8
+ version='0.7.0',
9
9
  author='Fathi Abdelmalek',
10
10
  author_email='abdelmalek.fathi.2001@gmail.com',
11
11
  url='https://github.com/passphera/core',
File without changes
@@ -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
File without changes