Skip to content
instance method

OpenSSL::Cipher#decrypt

() -> self
cipher.decrypt → self

Initializes the Cipher for decryption.

Make sure to call either encrypt or decrypt before using the Cipher for any operation or setting any parameters.

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

See also #ccm_data_len= #encrypt #block_size #final also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0