The required_ruby_version
constraint for this specification
A fallback is included because when generated, some marshalled specs have it set to nil
.
The required_rubygems_version
constraint for this specification
A fallback is included because the original version of the specification API didn’t include that field, so some marshalled specs in the index have it set to nil
.
The required_ruby_version
constraint for this specification
The required_rubygems_version
constraint for this specification
Like Enumerable#reject
, but chains operation to be lazy-evaluated.
Like Enumerable#chunk
, but chains operation to be lazy-evaluated.
Like Enumerable#uniq
, but chains operation to be lazy-evaluated.
Like Enumerable#compact
, but chains operation to be lazy-evaluated.
Returns a printable version of the enumerator chain.
Returns a printable version of the product enumerator.
Convert this arithmetic sequence to a printable form.
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).
Indicated whether this Cipher
instance uses an Authenticated Encryption mode.
Returns the authentication code as a hex-encoded string. The digest parameter specifies the digest algorithm to use. This may be a String
representing the algorithm name or an instance of OpenSSL::Digest
.
key = 'key' data = 'The quick brown fox jumps over the lazy dog' hmac = OpenSSL::HMAC.hexdigest('SHA1', key, data) #=> "de7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9"
String
representation of this configuration object, including the class name and its sections.
Pretty prints this engine.
Creates a PKCS #7 enveloped-data structure.
Before version 3.3.0, cipher
was optional and defaulted to "RC2-40-CBC"
.
See also the man page PKCS7_encrypt(3).
Get the output style, canonical or not.
Set
the output style to canonical, or not.