Changes for version 0.22

  • Add public_decrypt, private_encrypt methods, contributed by Paul G. Weiss <paul@weiss.name>
  • Some changes to help builds on Redhat9
  • Remove deprecated methods:
    • the no-arg new constructor - use new_from_public_key, new_from_private_key or Crypt::OpenSSL::RSA->generate_key instead
    • load_public_key - use new_from_public_key
    • load_private_key - use new_from_private_key
    • generate_key as an instance method - use it as a class constructor method instead.
    • set_padding_mode - use use_no_padding, use_pkcs1_padding, use_pkcs1_oaep_padding, or use_sslv23_padding instead.
    • get_padding_mode
  • Eliminate all(most all) memory leaks.
  • fix email address
  • Stop returning true from methods just to indicate success.
  • Change default public exponent from 65535 to 65537

Modules

RSA encoding and decoding, using the openSSL libraries