|
|
|
|
|
by Someone1234
4148 days ago
|
|
If you have both the old and new password in plain text you don't need to do a compression-based check, just a raw iterative approach would accomplish the same thing with very low overhead (in either CPU or memory accesses). Compression systems typically need a lookup table of some kind and have more overhead than just the raw comparison. |
|
PasswordA SomeOtherPassword1 PasswordB SomeOtherPassword2 PasswordC SomeOtherPassword3
Just iterate on every other change, and you've beaten the requirement.