Skip to content

Upgrading dev.whyoleg.cryptography:cryptography-core 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 dev.whyoleg.cryptography:cryptography-bigint 0.3.1, org.jetbrains.kotlin:kotlin-stdlib 1.9.22.

Drops org.jetbrains.kotlin:kotlin-stdlib-common.

Installs 4 packages in all (was 2).

Also installs org.jetbrains:annotations.

1 package of its own release moves with it.

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