clach04 / jenc-py

Python package for jenc/Markor decryption/encryption
https://pypi.org/project/jenc/
Apache License 2.0
0 stars 0 forks source link

Experimental implementation of V002 proposal #7

Open clach04 opened 1 day ago

clach04 commented 1 day ago

Experimental implementation of V002 proposal. Available in https://github.com/clach04/jenc-py/tree/issue_7_V002_experiment

The same as V001 but adopt iteration count recommendation from OWASP. I.e. 210K taken 2024-11-12 from https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2

As per comment https://github.com/gsantner/markor/discussions/1378#discussioncomment-11210647

clach04 commented 1 day ago

From initial implementation.

Before V002 test suite run time under 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] was sub 0.2 seconds:

Ran 11 tests in 0.193s

With V002 and 210K iterations instead of 10K, about 1.6 secs:

Ran 11 tests in 1.613s
clach04 commented 1 day ago

Proposal created/opened https://github.com/gsantner/markor/discussions/2471