Skip to content

Support for PBES1 algorithms#1193

Merged
jasonkatonica merged 1 commit intoIBM:java11from
dev-koan:implement_pbe1_keyder11
Feb 24, 2026
Merged

Support for PBES1 algorithms#1193
jasonkatonica merged 1 commit intoIBM:java11from
dev-koan:implement_pbe1_keyder11

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

@dev-koan dev-koan force-pushed the implement_pbe1_keyder11 branch from 734625a to a45edfb Compare February 13, 2026 20:48
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 a6af2e3 into IBM:java11 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