Skip to content

Support for PBES1 algorithms#1190

Merged
jasonkatonica merged 1 commit intoIBM:java25from
dev-koan:implement_pbe1_keyder25
Feb 24, 2026
Merged

Support for PBES1 algorithms#1190
jasonkatonica merged 1 commit intoIBM:java25from
dev-koan:implement_pbe1_keyder25

Conversation

@dev-koan
Copy link
Collaborator

@dev-koan dev-koan commented Feb 13, 2026

This update adds support for PBES1, PBEKeyFactory, and PBEParameters for PBES1 algorithms with manual key derivation using MessageDigest with the hash iteration count loop implemented in C to avoid excess JNI calls.
RC2 and RC4 Cipher classes have been added for PBE purpose only and these Ciphers are not supported by OpenJCEPlus Provider.
PBE cipher tests have also been updated for better test coverage.

Back-ported from: #1087

Signed-off-by: Dev Agarwal dev.agarwal@ibm.com

This update adds support for PBES1, PBEKeyFactory, and
PBEParameters for PBES1 algorithms with manual key derivation
using MessageDigest with the hash iteration count loop
implemented in C to avoid excess JNI calls.
RC2 and RC4 Cipher classes have been added for PBE purpose
only and these Ciphers are not supported by OpenJCEPlus Provider.
PBE cipher tests have also been updated for better
test coverage.

Signed-off-by: Dev Agarwal <dev.agarwal@ibm.com>
Copy link
Member

@jasonkatonica jasonkatonica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@KostasTsiounis KostasTsiounis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasonkatonica jasonkatonica merged commit d50c437 into IBM:java25 Feb 24, 2026
3 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.

4 participants