Skip to content

feat(pbkdf2): add RFC6070 test vectors - #51

Merged
LimiNode merged 2 commits into
mainfrom
codex/extend-test_all.cpp-with-rfc-6070-cases
Sep 5, 2025
Merged

feat(pbkdf2): add RFC6070 test vectors#51
LimiNode merged 2 commits into
mainfrom
codex/extend-test_all.cpp-with-rfc-6070-cases

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 5, 2025

Copy link
Copy Markdown
Owner

Summary

  • relax PBKDF2 to allow any non-empty salt
  • cover SHA-1 PBKDF2 with RFC 6070 vectors, unicode inputs, and empty-salt check

Testing

  • cmake -S . -B build -DBUILD_TESTS=ON
  • cmake --build build
  • cd build && ctest --output-on-failure

https://chatgpt.com/codex/tasks/task_e_68bb2c1fa6f0832c9d8928b4a0f8637d

Allow non-empty salts and add SHA-1 cases with unicode and empty-salt checks.
@LimiNode
LimiNode merged commit baa5d59 into main Sep 5, 2025
5 checks passed
@LimiNode
LimiNode deleted the codex/extend-test_all.cpp-with-rfc-6070-cases branch September 6, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant