instance method
OpenSSL::Cipher#name
() -> ::String
cipher.name → string
ext/openssl/ossl_cipher.c
View on GitHub ↗
static VALUE
ossl_cipher_name(VALUE self)
{
EVP_CIPHER_CTX *ctx;
GetCipher(self, ctx);
return rb_str_new2(EVP_CIPHER_name(EVP_CIPHER_CTX_cipher(ctx)));
}
Returns the short name of the cipher which may differ slightly from the original name provided.