Conversation
VeNoMouS
commented
Aug 5, 2025
|
@xKiian this looks like chatgpt edit verify if this even works and produces same result |
|
😭 |
|
Not exactly rocket science.... hashlib uses openssl shared library, where as pyscrypt is all in python |
|
Since the library https://github.com/ricmoo/pyscrypt looks very outdated (12 years), slow and unpopular, this improvement would help a lot with adapting the library in pytr-org/pytr#319 I added unit tests on top of the @VeNoMouS changes: It's not only faster (1.119s with pyscrypt vs 0.003 with hashlib), but it also eliminates outdated dependencies in favor of the standard library. I created #10 on top of these changes, so to be on the safe side, you can merge either of the PRs. But please, consider it merged. Otherwise it would require some additional work to make a fix for pytr. |