Skip to content

Upgrading dev.whyoleg.cryptography:cryptography-provider-jdk 0.2 to 0.3

Breaking0.2.0 → 0.3.1Breaking3New15Fixed2

BreakingUpgrade verdict

3 breaking changes.

  • Replace InsecureAlgorithm annotation with DelicateCryptographyApi - API breaking change.
  • publicExponent parameter in RSA keyPairGenerator is now of type BigInt - both API and ABI breaking change.
  • RSA key formats are now implemented via sealed class instead of enum - ABI breaking change.
3 items need code or config changes

Adds org.jetbrains.kotlin:kotlin-stdlib 1.9.22.

Drops dev.whyoleg.cryptography:cryptography-core, org.jetbrains.kotlin:kotlin-stdlib-common.

Installs 2 packages in all (was 3).

Breaking3
Replace InsecureAlgorithm annotation with DelicateCryptographyApi - API breaking change.
publicExponent parameter in RSA keyPairGenerator is now of type BigInt - both API and ABI breaking change.
publicExponentkeyPairGeneratorBigInt
RSA key formats are now implemented via sealed class instead of enum - ABI breaking change.
enum