Skip to content

feat: start CryptX Java XS bridge - #1929

Merged
fglock merged 1 commit into
masterfrom
feature/cryptx-java-bridge
Oct 30, 2026
Merged

fglock merged 1 commit into
masterfrom
feature/cryptx-java-bridge

Conversation

@fglock

@fglock fglock commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a bundled CryptX.pm bootstrap that retains the pure-Perl helpers and loads the Java XS provider.
  • Implement a first functional API slice for Crypt::Misc binary/base64/base64url helpers, Crypt::Digest functional calls, and Crypt::Mac::HMAC using existing JCA and Bouncy Castle providers.
  • Preserve the upstream Perl package names and report unsupported algorithms as Perl runtime errors.
  • Document the partial API surface and next implementation phases.

This is phase 1 of #1220. Stateful digest/MAC objects, RSA/ECC operations, cipher/mode and AEAD APIs, and broader CryptX compatibility remain follow-up work.

Validation

  • Native system Perl with CryptX 0.091: focused test passed, 12/12 assertions.
  • nice -n 19 make: passed in 9m21s.
  • JPERL_TEST_FILTER=CryptX timeout 1800 nice -n 19 make test-bundled-modules: passed; the CryptX module test ran.
  • nice -n 19 make check-links: passed, 811 links checked, 0 errors.

Add a CryptX bootstrap and Java XS bridge for binary/base64url helpers,
functional digests, and HMAC using JCA and Bouncy Castle. Cover the supported
API slice against native CryptX and the bundled PerlOnJava module test.

Generated with [OpenAI Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock marked this pull request as ready for review October 30, 2026 08:41
@fglock
fglock merged commit b8752d5 into master Oct 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant