method

encrypt

v1_9_3_125 - Show latest stable - Class: OpenSSL::Cipher
encrypt(*args)
public

Initializes the Cipher for encryption.

Make sure to call Cipher#encrypt or Cipher#decrypt before using any of the following methods:

Internally calls EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, 1).