APIdock / Ruby
/
method

decrypt

ruby latest stable - Class: OpenSSL ::Cipher
decrypt(*args)
public

Initializes the Cipher for decryption.

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, 0).

static VALUE
ossl_cipher_decrypt(int argc, VALUE *argv, VALUE self)
{
 return ossl_cipher_init(argc, argv, self, 0);
}

AltStyle によって変換されたページ (->オリジナル) /