Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::Cipher#encrypt
() -> self
cipher.encrypt → self
ext/openssl/ossl_cipher.c
View on GitHub ↗
static VALUE
ossl_cipher_encrypt(VALUE self)
{
return ossl_cipher_init(self, 1);
}