Skip to content

MIHCrypto 0.4.0

Choose a tag to compare

@hohl hohl released this 30 May 08:35
· 83 commits to master since this release

Attention: This release contains breaking changes.

  • Renamed MIHBigInteger#initWithData: (using BN_mpi2bn internally) to MIHBigInteger#initWithMpiData: and added a MIHBigInteger#initWithData: method which really accepts binary data (using BN_bin2bn internally).
  • RSA_PKCS1_OAEP_PADDING is now the default padding for RSA since it is more common. (Before it was RSA_PKCS1_PADDING).
  • Added the ability to encrypt with private keys and decrypt with public keys.